fix-linux-headers-updating-in-configure-20010629
authorNathan Neulinger <nneul@umr.edu>
Fri, 29 Jun 2001 05:48:25 +0000 (05:48 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 29 Jun 2001 05:48:25 +0000 (05:48 +0000)
make defaulting work correctly

configure.in

index d0fd20c..4b4e209 100644 (file)
@@ -54,8 +54,8 @@ case $system in
                else
                        LINUX_KERNEL_PATH="/usr/src/linux"
                fi
-               if test -f "$with_linux_kernel_headers/include/linux/version.h"; then
-                linux_kvers=`fgrep UTS_RELEASE $with_linux_kernel_headers/include/linux/version.h |awk 'BEGIN { FS="\"" } { print $2 }'`
+               if test -f "$LINUX_KERNEL_PATH/include/linux/version.h"; then
+                linux_kvers=`fgrep UTS_RELEASE $LINUX_KERNEL_PATH/include/linux/version.h |awk 'BEGIN { FS="\"" } { print $2 }'`
                 if test "x$linux_kvers" = "x"; then
                  AC_MSG_ERROR(Linux headers lack version definition)
                  exit 1