X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=configure.in;h=4b4e209fa0e3c7b65919abd2cfa36144e8f2f418;hp=d0fd20cf04ef80271421a37b7e5a4aee1830fa83;hb=a250c7807f325c964c7315ad3fb441bc5e8ae39f;hpb=8c08034a39dce0a0186a42200bcaf045752877ff diff --git a/configure.in b/configure.in index d0fd20c..4b4e209 100644 --- a/configure.in +++ b/configure.in @@ -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