summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorJasper Huijsmans <jbhuijsmans@home.nl>2003-03-19 07:12:08 +0000
committerJasper Huijsmans <jbhuijsmans@home.nl>2003-03-19 07:12:08 +0000
commit15805ca2609d0c1fb4164c651f0d15cb755c41d9 (patch)
treef4920caa0c436db688d8765761fa26c67243e42a /autogen.sh
parente04c73d82349ed60ef13d2556c64283160abc365 (diff)
downloadgtk-xfce-engine-15805ca2609d0c1fb4164c651f0d15cb755c41d9.tar.gz
Only add extra autogen parameters when none are given
(Old svn revision: 173)
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 d7b1bd4..754b9ec 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -82,10 +82,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
@@ -140,8 +144,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 "$@" \