r206: - we know use SVN not CVS:-)
authorStefan Metzmacher <metze@samba.org>
Wed, 14 Apr 2004 08:37:07 +0000 (08:37 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:51:17 +0000 (12:51 -0500)
- we should cleanup the cache before and after autoconf

metze
(This used to be commit 114f5198a7e73af5c62fe83145f836588ed365fe)

source4/autogen.sh

index aa8534858ea48c0d40bc892bdf5ca36c4138a349..922cad8e6139ec1f798fd83ded62bde117b379e4 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# Run this script to build samba from CVS.
+# Run this script to build samba from SVN.
 
 ## insert all possible names (only works with 
 ## autoconf 2.x
@@ -43,20 +43,22 @@ done
 ## do we have it?
 ##
 if [ "$AUTOCONFFOUND" = "0" -o "$AUTOHEADERFOUND" = "0" ]; then
-       echo "$0: need autoconf 2.53 or later to build samba from CVS" >&2
+       echo "$0: need autoconf 2.53 or later to build samba from SVN" >&2
        exit 1
 fi
 
 echo "$0: running script/mkversion.sh"
 ./script/mkversion.sh || exit 1
 
+rm -rf autom4te*.cache
+
 echo "$0: running $AUTOHEADER"
 $AUTOHEADER || exit 1
 
 echo "$0: running $AUTOCONF"
 $AUTOCONF || exit 1
 
-rm -rf autom4te.cache autom4te-2.53.cache
+rm -rf autom4te*.cache
 
 echo "Now run ./configure and then make."
 exit 0