]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL153X-linux24-hlist-unhashed-configure-test-fix-20080602
authorDerrick Brashear <shadow@dementia.org>
Tue, 3 Jun 2008 03:54:22 +0000 (03:54 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 3 Jun 2008 03:54:22 +0000 (03:54 +0000)
LICENSE IPL10

make the hlist_unhashed test actually work

(cherry picked from commit 79b7b4eaded831a33d85f580e9e4155528fbd35f)

acinclude.m4

index 9cedb1c2831dbc968126353daf076e04e00dcb41..315da8a45b6eec89700e54f56765b57228862db8 100644 (file)
@@ -843,7 +843,7 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*)
                 if test "x$ac_cv_linux_kernel_page_follow_link" = "xyes" ; then
                  AC_DEFINE(HAVE_KERNEL_PAGE_FOLLOW_LINK, 1, [define if your linux kernel provides page_follow_link])
                 fi
-                if test "x$ac_cv_linux_kernel_page_follow_link" = "xyes" ; then
+                if test "x$ac_cv_linux_kernel_hlist_unhashed" = "xyes" ; then
                  AC_DEFINE(HAVE_KERNEL_HLIST_UNHASHED, 1, [define if your linux kernel provides hlist_unhashed])
                 fi
                 if test "x$ac_linux_syscall" = "xyes" ; then