mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
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 <surya1@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #164
This commit is contained in:
parent
e3a4360702
commit
587045a638
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user