commit | 6d9437725acbeaf9619beb326d6363e7dd96f1e2 | [log] [tgz] |
---|---|---|
author | Colin Walters <walters@verbum.org> | Wed Jul 11 15:33:49 2012 -0400 |
committer | Colin Walters <walters@verbum.org> | Wed Jul 11 15:45:49 2012 -0400 |
tree | 9de2a34c90ae3b14023ba3a06151593f95489a37 | |
parent | 381f77c5bccf20234a2bddae2b6ac43997faf0a2 [diff] [blame] |
autogen.sh: Add /bin/sh interpreter, honor NOCONFIGURE=1 First, we should be able to execute as "./autogen.sh". Second, add support for NOCONFIGURE=1. For more information, see http://people.gnome.org/~walters/docs/build-api.txt
diff --git a/autogen.sh b/autogen.sh index 990096c..169d689 100755 --- a/autogen.sh +++ b/autogen.sh
@@ -1,2 +1,5 @@ +#!/bin/sh autoreconf -v --install || exit 1 -exec ./configure "$@" +if test -z "$NOCONFIGURE"; then + exec ./configure "$@" +fi