Whamcloud - gitweb
b=19856 disable netlink by removing autoconf stanza
authornathan <nathan>
Wed, 29 Jul 2009 17:21:56 +0000 (17:21 +0000)
committernathan <nathan>
Wed, 29 Jul 2009 17:21:56 +0000 (17:21 +0000)
(need to verify compilation on all kernels)

lustre/autoconf/lustre-core.m4

index 15fbe17..7f634ec 100644 (file)
@@ -1636,7 +1636,6 @@ AC_DEFUN([LC_PROG_LINUX],
          LC_PERCPU_COUNTER
          LC_QUOTA64
          LC_4ARGS_VFS_SYMLINK
-         LC_NETLINK
 
          # does the kernel have VFS intent patches?
          LC_VFS_INTENT_PATCHES
@@ -2014,26 +2013,6 @@ LB_LINUX_TRY_COMPILE([
 ])
 
 #
-# LC_NETLINK
-#
-# If we have netlink.h
-#
-AC_DEFUN([LC_NETLINK],
-[LB_CHECK_FILE([$LINUX/include/net/netlink.h],[
-        AC_MSG_CHECKING([if netlink.h can be compiled])
-        LB_LINUX_TRY_COMPILE([
-                #include <net/netlink.h>
-        ],[],[
-                AC_MSG_RESULT([yes])
-                AC_DEFINE(HAVE_NETLINK, 1, [net/netlink.h found])
-        ],[
-                AC_MSG_RESULT([no])
-        ])
-],
-[])
-])
-
-#
 # LC_CONFIGURE
 #
 # other configure checks