summaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2006-01-20 00:13:10 +0000
committerAndreas Gruenbacher <agruen@suse.de>2006-01-20 00:13:10 +0000
commit10da446fefed7a4a9e75134a6fbd12d4822a24b8 (patch)
tree60d25e2e13fd60b564de74b446ac6651b1808039 /aclocal.m4
parent2dfc510694d937b097a26e5dd2a64102c15dddf9 (diff)
downloadquilt-10da446fefed7a4a9e75134a6fbd12d4822a24b8.tar.gz
- configure.in: Document to use --without-foo instead of
--with-foo=none.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 4e7d492..5000f61 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -10,7 +10,10 @@ AC_DEFUN([QUILT_COMPAT_PROG_PATH],[
m4_if(internal_$2_cmd,[],[],[ (use --without-$2
to use an internal mechanism)])),
[
- if test ! x"$withval" = xno; then
+ if test x"$withval" = xnone; then
+ AC_MSG_ERROR([Invalid configure argument. use --without-$2])
+ fi
+ if test x"$withval" != xno; then
$1="$withval"
AC_MSG_NOTICE([Using $2 executable $$1])
COMPAT_SYMLINKS="$COMPAT_SYMLINKS $2"