[pulseaudio-discuss] [PATCH 1/4] build-sys: Use configure cache by default in bootstrap
Maarten Bosmans
mkbosmans at gmail.com
Wed Oct 5 05:33:39 PDT 2011
This speeds up subsequent configure invokations
---
.gitignore | 1 +
autogen.sh | 2 +-
bootstrap.sh | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 0637904..9fce4e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,6 +13,7 @@ Makefile.in
aclocal.m4
autom4te.cache
compile
+config.cache
config.guess
config.h
config.h.in
diff --git a/autogen.sh b/autogen.sh
index 4051a22..5a07251 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -20,4 +20,4 @@
NOCONFIGURE=1 ./bootstrap.sh
-exec ./configure "$@"
+exec ./configure -C "$@"
diff --git a/bootstrap.sh b/bootstrap.sh
index d0baf95..3e2bfab 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -98,7 +98,7 @@ else
run_versioned automake "$VERSION" --copy --foreign --add-missing
if test "x$NOCONFIGURE" = "x"; then
- CFLAGS="$CFLAGS -g -O0" ./configure --sysconfdir=/etc --localstatedir=/var --enable-force-preopen "$@"
+ CFLAGS="$CFLAGS -g -O0" ./configure -C --sysconfdir=/etc --localstatedir=/var --enable-force-preopen "$@"
make clean
fi
fi
--
1.7.4.1
More information about the pulseaudio-discuss
mailing list