From 8fcfeb63ec28e5184309cf249d6a6e81c0c53e34 Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Sun, 29 Jul 2012 12:18:37 -0500 Subject: [PATCH] Default autogen.sh to not running configure, unless some command line options are specified. --- autogen.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 169d689977..69e765a602 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,13 @@ #!/bin/sh autoreconf -v --install || exit 1 -if test -z "$NOCONFIGURE"; then + +# If there are any options, assume the user wants to run configure. +# To run configure w/o any options, use ./autogen.sh --configure +if [ $# -gt 0 ] ; then + case "$1" in + --conf*) + shift 1 + ;; + esac exec ./configure "$@" fi