summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2012-03-06 21:30:59 (GMT)
committerChristopher Jones <sixd@php.net>2012-03-06 21:30:59 (GMT)
commit15c956050c35eaa573d3e1a66509d2de52917689 (patch)
tree4c66bcf70cfa8912902bd33e1088aced03abddb5 /buildconf
parent7afd0509221a11d3d6ffc57410d65ade49497f95 (diff)
downloadphp-15c956050c35eaa573d3e1a66509d2de52917689.tar.gz
Make "buildconf --force" more robust, per IRC chat. Not backported to 5.3 to avoid destabilization.
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf7
1 files changed, 6 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index f1f2f77..9344b07 100755
--- a/buildconf
+++ b/buildconf
@@ -32,7 +32,12 @@ if test "$dev" = "0" -a "$devok" = "0"; then
echo "use buildconf --force to override this check."
exit 1
fi
-
+
+if test "$devok" = "1"; then
+ echo "Removing configure caches"
+ rm -rf autom4te.cache config.cache
+fi
+
rm -f generated_lists
if test "$debug" = "yes"; then