]> git.proxmox.com Git - mirror_spl.git/commitdiff
Remove SPL_LINUX_CONFIG autoconf macro
authorPrakash Surya <surya1@llnl.gov>
Wed, 22 Aug 2012 20:16:02 +0000 (13:16 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 27 Aug 2012 18:58:37 +0000 (11:58 -0700)
Since removing the check for CONFIG_PREEMPT, there are no consumers of
the SPL_LINUX_CONFIG macro. As such, there is no reason to keep it
around.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #164

config/spl-build.m4

index e3b65d05c0494b095c343407e654328b357604d2..dad4c8ed24f1478ae29e0a3c50e879dce14d2ac9 100644 (file)
@@ -646,26 +646,6 @@ AC_DEFUN([SPL_LINUX_TRY_COMPILE],
        [$3], [$4])
 ])
 
-dnl #
-dnl # SPL_LINUX_CONFIG
-dnl #
-AC_DEFUN([SPL_LINUX_CONFIG],
-       [AC_MSG_CHECKING([whether Linux was built with CONFIG_$1])
-       SPL_LINUX_TRY_COMPILE([
-               #include <linux/module.h>
-       ],[
-               #ifndef CONFIG_$1
-               #error CONFIG_$1 not #defined
-               #endif
-       ],[
-               AC_MSG_RESULT([yes])
-               $2
-       ],[
-               AC_MSG_RESULT([no])
-               $3
-       ])
-])
-
 dnl #
 dnl # SPL_CHECK_SYMBOL_EXPORT
 dnl # check symbol exported or not