From aa84623d250730fd7e4c3909e2bea7fe0f246280 Mon Sep 17 00:00:00 2001 From: James Cox Date: Sat, 20 Jul 2002 16:40:14 +0000 Subject: [PATCH] proper patch to cvsclean for bad autoconf. --- buildconf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/buildconf b/buildconf index fafd5dcc22e..d07947d7a9e 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