mirror of
https://github.com/json-c/json-c.git
synced 2026-04-11 08:19:08 +08:00
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
This commit is contained in:
@@ -1,2 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
autoreconf -v --install || exit 1
|
autoreconf -v --install || exit 1
|
||||||
exec ./configure "$@"
|
if test -z "$NOCONFIGURE"; then
|
||||||
|
exec ./configure "$@"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user