STABLE14-sysctl-table-checking-modpost-fun-fun-20080127

LICENSE IPL10
FIXES 83890

try again to do something sensible so we don't default wrong


(cherry picked from commit 5a93678e3943fa2c71d51f25f84b4efd5f3700e6)
This commit is contained in:
Marc Dionne 2008-01-28 19:17:16 +00:00 committed by Derrick Brashear
parent ee86d121bb
commit 2ed6c1153e

View File

@ -951,8 +951,9 @@ AC_DEFUN([LINUX_SYSCTL_TABLE_CHECKING], [
AC_CACHE_VAL([ac_cv_linux_sysctl_table_checking], [
AC_TRY_KBUILD(
[#include <linux/sysctl.h>],
[ sysctl_check_table(NULL);],
ac_cv_linux_sysctl_table_checking=yes,
ac_cv_linux_sysctl_table_checking=no)])
AC_MSG_RESULT($ac_cv_linux_sysctl_table_checking)])
[ extern int sysctl_check_table(int) __attribute__((weak));
sysctl_check_table(NULL);],
ac_cv_linux_sysctl_table_checking=no,
ac_cv_linux_sysctl_table_checking=yes)])
AC_MSG_RESULT($ac_cv_linux_sysctl_table_checking)])