diff options
Diffstat (limited to 'src/3rdParty/json-c/autogen.sh')
-rwxr-xr-x | src/3rdParty/json-c/autogen.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/3rdParty/json-c/autogen.sh b/src/3rdParty/json-c/autogen.sh new file mode 100755 index 0000000..69e765a --- /dev/null +++ b/src/3rdParty/json-c/autogen.sh @@ -0,0 +1,13 @@ +#!/bin/sh +autoreconf -v --install || exit 1 + +# If there are any options, assume the user wants to run configure. +# To run configure w/o any options, use ./autogen.sh --configure +if [ $# -gt 0 ] ; then + case "$1" in + --conf*) + shift 1 + ;; + esac + exec ./configure "$@" +fi |