summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile/oprofile/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/oprofile/oprofile/acinclude.m4')
-rw-r--r--meta/recipes-kernel/oprofile/oprofile/acinclude.m419
1 files changed, 0 insertions, 19 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofile/acinclude.m4 b/meta/recipes-kernel/oprofile/oprofile/acinclude.m4
index ffaa8288df..95ecd91b5e 100644
--- a/meta/recipes-kernel/oprofile/oprofile/acinclude.m4
+++ b/meta/recipes-kernel/oprofile/oprofile/acinclude.m4
@@ -104,25 +104,6 @@ AC_SUBST(OPROFILE_MODULE_ARCH)
104] 104]
105) 105)
106 106
107dnl AX_KERNEL_VERSION(major, minor, level, comparison, action-if-true, action-if-false)
108AC_DEFUN([AX_KERNEL_VERSION], [
109SAVE_CFLAGS=$CFLAGS
110CFLAGS="-I$KINC -D__KERNEL__ -Werror"
111AC_TRY_COMPILE(
112 [
113 #include <linux/version.h>
114 #include <linux/config.h>
115 ],
116 [
117 #if LINUX_VERSION_CODE $4 KERNEL_VERSION($1, $2, $3)
118 break_me_hard(\\\);
119 #endif
120 ],
121[$5],[$6],)
122CFLAGS=$SAVE_CFLAGS
123])
124
125
126dnl AX_MSG_RESULT_YN(a) 107dnl AX_MSG_RESULT_YN(a)
127dnl results "yes" iff a==1, "no" else 108dnl results "yes" iff a==1, "no" else
128AC_DEFUN([AX_MSG_RESULT_YN], [x=no 109AC_DEFUN([AX_MSG_RESULT_YN], [x=no