25 lines
442 B
Bash
25 lines
442 B
Bash
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
autoreconf -i -Wno-portability
|
||
|
|
||
|
# Honor NOCONFIGURE for compatibility with gnome-autogen.sh
|
||
|
if test x"$NOCONFIGURE" = x; then
|
||
|
run_configure=true
|
||
|
for arg in $*; do
|
||
|
case $arg in
|
||
|
--no-configure)
|
||
|
run_configure=false
|
||
|
;;
|
||
|
*)
|
||
|
;;
|
||
|
esac
|
||
|
done
|
||
|
else
|
||
|
run_configure=false
|
||
|
fi
|
||
|
|
||
|
if test $run_configure = true; then
|
||
|
./configure "$@"
|
||
|
fi
|