summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJasper Huijsmans <jbhuijsmans@home.nl>2003-03-19 07:12:07 +0000
committerJasper Huijsmans <jbhuijsmans@home.nl>2003-03-19 07:12:07 +0000
commite6d76f10c1694bbce97f9d86a57191f99ceb16e6 (patch)
treedb1b4c992093b00b98adc1eb80b90a65b512bb2a /autogen.sh
parent9bf5b42ef2053c7bc5188cff79d70d4a66d191ce (diff)
downloadxfdesktop-e6d76f10c1694bbce97f9d86a57191f99ceb16e6.tar.gz
Only add extra autogen parameters when none are given
(Old svn revision: 7230)
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index 76ec94c7..98ed0e92 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -84,10 +84,14 @@ if test "$DIE" -eq 1; then
fi
if test -z "$*"; then
- echo "**Warning**: I am going to run \`configure' with no arguments."
- echo "If you wish to pass any to it, please specify them on the"
+ echo "**Message**: I am going to add --enable-maintainer-mode to \`configure'."
+ echo "If you wish to pass any other to it, please specify them on the"
echo \`$0\'" command line."
echo
+
+ conf_flags="--enable-maintainer-mode"
+else
+ unset conf_flags
fi
case $CC in
@@ -142,8 +146,6 @@ do
fi
done
-conf_flags="--enable-maintainer-mode"
-
if test x$NOCONFIGURE = x; then
echo Running $srcdir/configure $conf_flags "$@" ...
$srcdir/configure $conf_flags "$@" \