gitg/autogen.sh
Guillaume Desmottes c25487f7c7 autogen.sh: add --no-configure option
Needed when hooking autogen in the autogen of a super project.
2012-05-16 17:27:07 +02:00

18 lines
304 B
Bash
Executable file

#!/bin/sh
mkdir -p m4
autoreconf -fiv -Wall || exit
run_configure=true
for arg in $*; do
case $arg in
--no-configure)
run_configure=false
;;
*)
;;
esac
done
if test $run_configure = true; then
./configure --enable-maintainer-mode "$@"
fi