projects
/
nbd.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
63a50ec
)
r335: Allow disabling of klcc
author
yoe <yoe>
Sun, 4 May 2008 15:02:18 +0000
(15:02 +0000)
committer
yoe <yoe>
Sun, 4 May 2008 15:02:18 +0000
(15:02 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
9cc59e6
..
2a92009
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-93,7
+93,12
@@
AC_ARG_WITH(
sbin_PROGRAMS=knbd-client
AC_MSG_RESULT($KLCC)
else
sbin_PROGRAMS=knbd-client
AC_MSG_RESULT($KLCC)
else
- AC_MSG_ERROR("specified klcc is not executable or does not exist.")
+ if test "$withval" = "no"; then
+ KLCC=""
+ AC_MSG_RESULT(Disabled)
+ else
+ AC_MSG_ERROR([specified klcc ($withval) is not executable or does not exist.])
+ fi
fi
else
if test -x /usr/bin/klcc; then
fi
else
if test -x /usr/bin/klcc; then
@@
-101,7
+106,7
@@
AC_ARG_WITH(
sbin_PROGRAMS=knbd-client
AC_MSG_RESULT($KLCC)
else
sbin_PROGRAMS=knbd-client
AC_MSG_RESULT($KLCC)
else
- AC_MSG_ERROR("klcc not found! Please specify it as a parameter to the --with-klcc option");
+ AC_MSG_ERROR([klcc not found! Please specify it as a parameter to the --with-klcc option]);
fi
fi
],
fi
fi
],