1#!/bin/sh
2autoreconf -v --install || exit 1
3
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
12    exec ./configure  "$@"
13fi
14