Remove old linux 2.2 and 2.4 references in the autoconf macros left over
from the linux 2.2 and 2.4 days.
Change-Id: Ie859d938fa1fee1d98a035b55e5e41120b66bc69
Reviewed-on: https://gerrit.openafs.org/13003
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
GUESS_LINUX_VERSION=`uname -r`
fi
case "$GUESS_LINUX_VERSION" in
- 2.2.*) AFS_SYSKVERS=22 ;;
- 2.4.*) AFS_SYSKVERS=24 ;;
[2.6.* | [3-9]* | [1-2][0-9]*]) AFS_SYSKVERS=26 ;;
*) AC_MSG_ERROR(Couldn't guess your Linux version [2]) ;;
esac
else
for utsdir in "/lib/modules/`uname -r`/build" \
"/lib/modules/`uname -r`/source" \
- "/usr/src/linux-2.4" \
"/usr/src/linux"; do
LINUX_KERNEL_PATH="$utsdir"
for utsfile in "include/generated/utsrelease.h" \
[AS_HELP_STRING([--with-linux-kernel-headers=path],
[use the kernel headers found at path (optional, defaults to
/lib/modules/`uname -r`/build, then /lib/modules/`uname -r`/source,
- then /usr/src/linux-2.4, and lastly /usr/src/linux)])
+ and lastly /usr/src/linux)])
])
AC_ARG_WITH([linux-kernel-build],
[AS_HELP_STRING([--with-linux-kernel-build=path],