mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-06 21:10:19 +01:00
autogen.sh: Don't run configure if NOCONFIGURE is set
See http://people.gnome.org/~walters/docs/build-api.txt
This commit is contained in:
parent
33a77c8605
commit
4b78d66da8
1 changed files with 7 additions and 3 deletions
10
autogen.sh
10
autogen.sh
|
|
@ -85,8 +85,9 @@ autoconf || echo "autoconf failed - version 2.5x is probably required"
|
|||
|
||||
cd $ORIGDIR
|
||||
|
||||
run_configure=true
|
||||
for arg in $*; do
|
||||
if test x"$NOCONFIGURE" = x; then
|
||||
run_configure=true
|
||||
for arg in $*; do
|
||||
case $arg in
|
||||
--no-configure)
|
||||
run_configure=false
|
||||
|
|
@ -94,7 +95,10 @@ for arg in $*; do
|
|||
*)
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
else
|
||||
run_configure=false
|
||||
fi
|
||||
|
||||
if $run_configure; then
|
||||
$srcdir/configure --enable-maintainer-mode --config-cache "$@"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue