[egg-list-box] autogen.sh: add --no-configure option
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [egg-list-box] autogen.sh: add --no-configure option
- Date: Thu, 17 May 2012 06:24:27 +0000 (UTC)
commit c25487f7c78aa207bdee4077517e0b789155ccec
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed May 16 17:27:07 2012 +0200
autogen.sh: add --no-configure option
Needed when hooking autogen in the autogen of a super project.
autogen.sh | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index e48ee08..a31a9ab 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,18 @@
#!/bin/sh
mkdir -p m4
autoreconf -fiv -Wall || exit
-./configure --enable-maintainer-mode "$@"
+
+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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]