summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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