summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-04-24 12:08:12 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-04-24 12:08:12 +0000
commitfc75af45534e529f9bdb9e5777178bb1df3c7892 (patch)
tree60f12dbb69d7713cf24145a9fda12712426ff85e /autogen.sh
parente4f02735cd35abff8d48942730587f3d9c9d2236 (diff)
downloadtelepathy-glib-fc75af45534e529f9bdb9e5777178bb1df3c7892.tar.gz
autogen.sh: Respect --no-configure
20070424120812-53eee-a3b91b00237b92663494fa1b500f3b141dc58580.gz
Diffstat (limited to 'autogen.sh')
-rw-r--r--autogen.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 4d22e8775..cacdfae65 100644
--- a/autogen.sh
+++ b/autogen.sh
@@ -14,4 +14,17 @@ $MAKE -C telepathy-glib -f stable-interfaces.mk _gen/stable-interfaces.txt
autoreconf -i
-./configure "$@"
+run_configure=true
+for arg in $*; do
+ case $arg in
+ --no-configure)
+ run_configure=false
+ ;;
+ *)
+ ;;
+ esac
+done
+
+if test $run_configure = true; then
+ ./configure "$@"
+fi