From 82234fc6076abe6c6119107f1bf06aa3d6d40f76 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Tue, 6 Mar 2012 21:30:59 +0000 Subject: Make "buildconf --force" more robust, per IRC chat. Not backported to 5.3 to avoid destabilization. --- buildconf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'buildconf') 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 -- cgit v1.2.1