From 587045a6386d1e7a6256eb6ef825e046beabd9a3 Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Wed, 22 Aug 2012 13:16:02 -0700 Subject: [PATCH] Remove SPL_LINUX_CONFIG autoconf macro 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 Signed-off-by: Brian Behlendorf Closes #164 --- config/spl-build.m4 | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/config/spl-build.m4 b/config/spl-build.m4 index e3b65d0..dad4c8e 100644 --- a/config/spl-build.m4 +++ b/config/spl-build.m4 @@ -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 - ],[ - #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 -- 2.40.0