Colin Walters | 6d94377 | 2012-07-11 15:33:49 -0400 | [diff] [blame] | 1 | #!/bin/sh |
Michael Clark | f6a6e48 | 2007-03-13 08:26:23 +0000 | [diff] [blame] | 2 | autoreconf -v --install || exit 1 |
Eric Haszlakiewicz | 8fcfeb6 | 2012-07-29 12:18:37 -0500 | [diff] [blame] | 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 |
Colin Walters | 6d94377 | 2012-07-11 15:33:49 -0400 | [diff] [blame] | 12 | exec ./configure "$@" |
| 13 | fi |