Skip to content

Commit

Permalink
autogen: Honour the NOCONFIGURE environment variable
Browse files Browse the repository at this point in the history
Most autogen scripts don't run the configure step if there is a
NOCONFIGURE environment variable. This is quite useful if you are
trying to do an out-of-tree build.

https://bugzilla.gnome.org/show_bug.cgi?id=661781
  • Loading branch information
bpeel authored and Damien Lespiau committed Oct 27, 2011
1 parent 49d5c34 commit 67ca826
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autogen.sh
@@ -1,4 +1,6 @@
#! /bin/sh
gtkdocize || exit 1
autoreconf -v --install || exit 1
./configure "$@"
if test -z "$NOCONFIGURE"; then
./configure "$@" || exit 1
fi

0 comments on commit 67ca826

Please sign in to comment.