From: Michael Laß Date: Fri, 14 Dec 2012 16:06:30 +0000 (+0100) Subject: Update configure help msg to match actual defaults X-Git-Tag: upstream/1.6.2_pre2^2~5 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=7d6591870302e935e04db91b934082a49c9009bc;p=packages%2Fo%2Fopenafs.git Update configure help msg to match actual defaults The defaults for LINUX_KERNEL_PATH and LINUX_KERNEL_BUILD in acinclude.m4 were changed in 2cfd611, 94ff565 and 3f9d982 without updating the output of ./configure --help. Change the description of linux-kernel-headers and linux-kernel-build to show the correct defaults. Reviewed-on: http://gerrit.openafs.org/8759 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit 986a8541518fb03a69cf5ece2055cb9cd50bda60) Change-Id: I2fc463fc3b5793d6125f7367de22631c8e52da21 Reviewed-on: http://gerrit.openafs.org/8805 Tested-by: BuildBot Reviewed-by: Stephan Wiesand Tested-by: Stephan Wiesand Reviewed-by: Paul Smeddle --- diff --git a/acinclude.m4 b/acinclude.m4 index 54e65f66c..b384536cc 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -118,11 +118,12 @@ dnl Kernel module build options. AC_ARG_WITH([linux-kernel-headers], [AS_HELP_STRING([--with-linux-kernel-headers=path], [use the kernel headers found at path (optional, defaults to - /usr/src/linux-2.4, then /usr/src/linux)])]) + /lib/modules/`uname -r`/build, then /lib/modules/`uname -r`/source, + then /usr/src/linux-2.4, and lastly /usr/src/linux)])]) AC_ARG_WITH([linux-kernel-build], [AS_HELP_STRING([--with-linux-kernel-build=path], [use the kernel build found at path(optional, defaults to - /usr/src/linux-2.4, then /usr/src/linux)])]) + kernel headers path)])]) AC_ARG_WITH([bsd-kernel-headers], [AS_HELP_STRING([--with-bsd-kernel-headers=path], [use the kernel headers found at path (optional, defaults to