diff options
author | Mukund Sivaraman <muks@banu.com> | 2009-09-24 08:16:26 +0530 |
---|---|---|
committer | Mukund Sivaraman <muks@banu.com> | 2009-09-27 08:09:23 +0530 |
commit | 1c72d8f0631401487ed9bd9340fe2269658ccfa9 (patch) | |
tree | 4570ab42bbed884b72afb6d6e7fc90e343e0ab81 | |
parent | 38c20cd8676d8152b4437346925995f76fa62815 (diff) |
build: Run configure in autogen.sh
-rwxr-xr-x | autogen.sh | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -6,8 +6,31 @@ # can now be used... # +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. +ORIGDIR=`pwd` + set -x + +cd $srcdir + aclocal -I m4macros \ && autoheader \ && automake --gnu --add-missing \ && autoconf + +cd $ORIGDIR + +set - + +echo $srcdir/configure --enable-maintainer-mode "$@" +$srcdir/configure --enable-maintainer-mode "$@" +RC=$? +if test $RC -ne 0; then + echo + echo "Configure failed or did not finish!" + exit $RC +fi + +echo +echo "Now type 'make' to compile Tinyproxy." |