From: Colin Walters Date: Wed, 11 Jul 2012 19:33:49 +0000 (-0400) Subject: autogen.sh: Add /bin/sh interpreter, honor NOCONFIGURE=1 X-Git-Tag: json-c-0.11-20130402~63^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F37%2Fhead;p=thirdparty%2Fjson-c.git 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 990096c9..169d6899 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