summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorJames Cox <imajes@php.net>2002-07-20 16:40:14 +0000
committerJames Cox <imajes@php.net>2002-07-20 16:40:14 +0000
commitaa84623d250730fd7e4c3909e2bea7fe0f246280 (patch)
treeadb19416ff9c6fe9c18fa329d4892255a09799d4 /buildconf
parent7a5ac7cc9cef494d2c36f92bbda8aa3652d9c025 (diff)
downloadphp-git-aa84623d250730fd7e4c3909e2bea7fe0f246280.tar.gz
proper patch to cvsclean for bad autoconf.
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