Codebase list h5utils / 830b7f9
pass through arbitrary configure arguments in autogen.sh Steven G. Johnson 6 years ago
1 changed file(s) with 1 addition(s) and 14 deletion(s). Raw diff Collapse all Expand all
00 #!/bin/sh
1
2 configure_args=""
3
4 while test $# -ge 1; do
5 case $1 in
6 --enable-*) configure_args="$configure_args $1" ;;
7 --disable-*) configure_args="$configure_args $1" ;;
8 --with-*) configure_args="$configure_args $1" ;;
9 --without-*) configure_args="$configure_args $1" ;;
10 *) echo "unknown argument $1"; exit 1 ;;
11 esac
12 shift
13 done
141
152 # paranoia: sometimes autoconf doesn't get things right the first time
163 autoreconf --verbose --install --symlink --force
174 autoreconf --verbose --install --symlink --force
185 autoreconf --verbose --install --symlink --force
196
20 ./configure --with-hdf4 --enable-maintainer-mode $configure_args
7 ./configure --with-hdf4 --enable-maintainer-mode $*