summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf8
1 files changed, 8 insertions, 0 deletions
diff --git a/buildconf b/buildconf
index fafd5dcc22..d07947d7a9 100755
--- a/buildconf
+++ b/buildconf
@@ -1,6 +1,14 @@
#!/bin/sh
# $Id$
+acv=`autoconf --version | grep GNU |cut -d ' ' -f 4`
+res=`expr $acv '>=' 2.5`
+
+if test $res = 1; then
+ echo "cleaning checkout to force rebuild, due to bad autoconf"
+ ./cvsclean
+fi
+
while test $# -gt 0; do
if test "$1" = "--copy"; then
automake_flags=--copy