]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
autoconf: remove more linux 2.4 references
authorMichael Meffie <mmeffie@sinenomine.net>
Mon, 9 Apr 2018 20:42:41 +0000 (16:42 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Thu, 7 Jun 2018 22:55:38 +0000 (18:55 -0400)
Remove old linux 2.2 and 2.4 references in the autoconf macros left over
from the linux 2.2 and 2.4 days.

Reviewed-on: https://gerrit.openafs.org/13003
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit 833a81eeda6e48ea1ced92169434e843d054c44d)

Change-Id: I3bf407ec084d911cc826b50fc39f48a20eb0fd77
Reviewed-on: https://gerrit.openafs.org/13110
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/cf/linux-guess-version.m4
src/cf/linux-kernel-path.m4
src/cf/options.m4

index 365051ad93dd5b51a8921ad202f8ea0cd60fd82f..c0f9af0d3b1fdc94e6db47c3537cc3e10a918d1d 100644 (file)
@@ -6,8 +6,6 @@ else
     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
index ac43a859d6fd089c13c0e1c0d175538c8655a94e..2c6212ad8e41a921ac584b58bdbeed124b3fe364 100644 (file)
@@ -4,7 +4,6 @@ if test "x$with_linux_kernel_headers" != "x"; then
 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" \
index a92b7c04aa648375a89de62d36e141c4e88247c7..0e1c9dfb2e742cf20625823413c93554c0e775a3 100644 (file)
@@ -53,7 +53,7 @@ AC_ARG_WITH([linux-kernel-headers],
     [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],