summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-05-20 16:01:35 -0400
committerVincent Untz <vuntz@gnome.org>2013-05-20 22:29:48 +0200
commit645a01946ed5abdf3e314f9b25c24db6132c1988 (patch)
tree089bb863ef89b6ddabdbbf58973cf5e78e30dd4e
parentf0a269e1d65843822915faa1bb020da8b6b9954c (diff)
downloaddesktop-file-utils-645a01946ed5abdf3e314f9b25c24db6132c1988.tar.gz
autogen.sh: Honor NOCONFIGURE=1
See http://people.gnome.org/~walters/docs/build-api.txt
-rwxr-xr-xautogen.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index 0a4f98a..77e6151 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -57,7 +57,8 @@ autoconf || echo "autoconf failed - version 2.5x is probably required"
cd $ORIGDIR
-$srcdir/configure "$@"
-
-echo
-echo "Now type 'make' to compile $PROJECT."
+if test -z "$NOCONFIGURE"; then
+ $srcdir/configure "$@"
+ echo
+ echo "Now type 'make' to compile $PROJECT."
+fi