]> granicus.if.org Git - php/commitdiff
Make "buildconf --force" more robust, per IRC chat. Not backported to 5.3 to avoid...
authorChristopher Jones <sixd@php.net>
Tue, 6 Mar 2012 21:30:59 +0000 (21:30 +0000)
committerChristopher Jones <sixd@php.net>
Tue, 6 Mar 2012 21:30:59 +0000 (21:30 +0000)
buildconf

index f1f2f778b8a452f102c8143161af2d247fade763..9344b074ea7d80050a81c007ab933b521e9cba57 100755 (executable)
--- 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