summaryrefslogtreecommitdiff
path: root/json-c/src/autogen.sh
blob: 51d9e8ec26607c3962b979a9115db7933ba72d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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