5 while test $# -ge 1; do
7 --verbose) verbose=yes ;;
8 --enable-*) configure_args="$configure_args $1" ;;
9 --disable-*) configure_args="$configure_args $1" ;;
10 --with-*) configure_args="$configure_args $1" ;;
11 --without-*) configure_args="$configure_args $1" ;;
12 *) echo "unknown argument $1"; exit 1 ;;
17 touch swig/nlopt.scm.in
19 # paranoia: sometimes autoconf doesn't get things right the first time
20 autoreconf --verbose --install --symlink --force
21 autoreconf --verbose --install --symlink --force
22 autoreconf --verbose --install --symlink --force
24 config=good # hackery so darcs_test still outputs config.log w/failed configure
26 ./configure --enable-maintainer-mode $configure_args || config=bad
28 if test x$verbose = xyes; then
32 test $config = bad && exit 1