summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2012-03-06 21:30:59 +0000
committerChristopher Jones <sixd@php.net>2012-03-06 21:30:59 +0000
commit82234fc6076abe6c6119107f1bf06aa3d6d40f76 (patch)
tree7c8b73b14557a17f91cafda3cbefc72d8a4178f1 /buildconf
parenteb8d56e1b4d9000bdff3206666d652ab5b381763 (diff)
downloadphp-git-82234fc6076abe6c6119107f1bf06aa3d6d40f76.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 f1f2f778b8..9344b074ea 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