diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -65,9 +65,11 @@ test $TEST_TYPE $FILE || { exit 1 } -if test -z "$*"; then - echo "I am going to run ./configure with no arguments - if you wish " - echo "to pass any to it, please specify them on the $0 command line." +if test -z "$AUTOGEN_SUBDIR_MODE"; then + if test -z "$*"; then + echo "I am going to run ./configure with no arguments - if you wish " + echo "to pass any to it, please specify them on the $0 command line." + fi fi aclocal $ACLOCAL_FLAGS @@ -79,7 +81,9 @@ automake -a $am_opt autoconf cd $ORIGDIR -$srcdir/configure --enable-maintainer-mode "$@" +if test -z "$AUTOGEN_SUBDIR_MODE"; then + $srcdir/configure --enable-maintainer-mode "$@" -echo -echo "Now type 'make' to compile $PROJECT." + echo + echo "Now type 'make' to compile $PROJECT." +fi
\ No newline at end of file |