diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-11-15 12:04:30 -0500 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-11-16 11:33:24 -0500 |
commit | 060e148bd71f3989861ab374dba89cc20278fcec (patch) | |
tree | 78858e8cebcce3730c8188a85cc06d39b70c0545 | |
parent | 847e2b950aa18d530dc0f32b58e8bb11a1658039 (diff) | |
download | telepathy-mission-control-060e148bd71f3989861ab374dba89cc20278fcec.tar.gz |
build: honor NOCONFIGURE in autogen.sh
Like telepathy-glib does already.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57165
Reviewed-By: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rwxr-xr-x | autogen.sh | 25 |
1 files changed, 15 insertions, 10 deletions
@@ -20,16 +20,21 @@ fi echo 'Running autoreconf -i --force' autoreconf -i --force -run_configure=true -for arg in $*; do - case $arg in - --no-configure) - run_configure=false - ;; - *) - ;; - esac -done +# 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 default_args="--enable-gtk-doc --enable-mcd-plugins --enable-gnome-keyring=auto" |