git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1c46493
)
configure-fail-if-cant-guess-linux-version-for-sysname-20010719
author
Derrick Brashear
<shadow@dementia.org>
Thu, 19 Jul 2001 22:25:26 +0000 (22:25 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 19 Jul 2001 22:25:26 +0000 (22:25 +0000)
if we disabled kernel module because there were no headers, guessing the sysname is harder
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
829b87a
..
75efd02
100644
(file)
--- 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"
;;