From: Derrick Brashear Date: Thu, 19 Jul 2001 22:25:44 +0000 (+0000) Subject: STABLE11-configure-fail-if-cant-guess-linux-version-for-sysname-20010719 X-Git-Tag: openafs-stable-1_1_1~2 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6afcb1d9044fa9b934a59731d25e4c65b0612e13;p=packages%2Fo%2Fopenafs.git STABLE11-configure-fail-if-cant-guess-linux-version-for-sysname-20010719 if we disabled kernel module because there were no headers, guessing the sysname is harder (cherry picked from commit 3416930f75db8f7268f354ce00531e14f53f5393) --- diff --git a/configure.in b/configure.in index 185f9c35a..1f90d6071 100644 --- a/configure.in +++ b/configure.in @@ -239,6 +239,9 @@ else case $AFS_SYSNAME in *_linux*) AFS_SYSKVERS=`echo $LINUX_VERSION | awk -F\. '{print $1 $2}'` + if test "x${AFS_SYSKVERS}" = "x"; then + AC_MSG_ERROR(Couldn't guess your Linux version. Please use the --with-afs-sysname option to configure an AFS sysname.) + fi _AFS_SYSNAME=`echo $AFS_SYSNAME|sed s/XX\$/$AFS_SYSKVERS/` AFS_SYSNAME="$_AFS_SYSNAME" ;;