aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 1180ec5..370a613 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -41,14 +41,15 @@ echo "Running $AUTOMAKE..."
$AUTOMAKE -a -c || exit 1
if [ "$1" == "-d" ]; then
+ shift;
echo "Running configure --enable-debug (but not --enable-debug-output)"
echo
sleep 1s
- ./configure --enable-debug
+ ./configure --enable-debug "$@"
elif [ -n "$1" ]; then
echo
echo "./configure $@"
- ./configure $@
+ ./configure "$@"
else
echo
echo "autogen.sh completed successfully."