1 #!/bin/sh 2 autoreconf -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 6 if [ $# -gt 0 ] ; then 7 case "$1" in 8 --conf*) 9 shift 1 10 ;; 11 esac 12 exec ./configure "$@" 13 fi 14