blob: 69e765a602787ef0c915c105c500440ec32dfb35 [file] [log] [blame]
Colin Walters6d943772012-07-11 15:33:49 -04001#!/bin/sh
Michael Clarkf6a6e482007-03-13 08:26:23 +00002autoreconf -v --install || exit 1
Eric Haszlakiewicz8fcfeb62012-07-29 12:18:37 -05003
4# If there are any options, assume the user wants to run configure.
5# To run configure w/o any options, use ./autogen.sh --configure
6if [ $# -gt 0 ] ; then
7 case "$1" in
8 --conf*)
9 shift 1
10 ;;
11 esac
Colin Walters6d943772012-07-11 15:33:49 -040012 exec ./configure "$@"
13fi