Browse Source

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
tags/json-c-0.11-20130402
Colin Walters 13 years ago
parent
commit
6d9437725a
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      autogen.sh

+ 4
- 1
autogen.sh View File

@@ -1,2 +1,5 @@
#!/bin/sh
autoreconf -v --install || exit 1
exec ./configure "$@"
if test -z "$NOCONFIGURE"; then
exec ./configure "$@"
fi

Loading…
Cancel
Save