From 6d9437725acbeaf9619beb326d6363e7dd96f1e2 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 11 Jul 2012 15:33:49 -0400 Subject: [PATCH] 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 --- autogen.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5