forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move autoconf-2.13 check into buildcheck.sh where we already have
version parsing code and (more importantly) proper error checking for missing autoconf.
- Loading branch information
Sascha Schumann
committed
Jul 21, 2002
1 parent
71e7b5c
commit 2247d61
Showing
3 changed files
with
15 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,11 +16,13 @@ | |
# | Sascha Schumann <[email protected]> | | ||
# +----------------------------------------------------------------------+ | ||
# | ||
# $Id: buildcheck.sh,v 1.18 2002-06-26 18:42:50 sniper Exp $ | ||
# $Id: buildcheck.sh,v 1.19 2002-07-21 13:09:07 sas Exp $ | ||
# | ||
|
||
echo "buildconf: checking installation..." | ||
|
||
stamp=$1 | ||
|
||
# autoconf 2.13 or newer | ||
ac_version=`autoconf --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'` | ||
if test -z "$ac_version"; then | ||
|
@@ -40,6 +42,15 @@ echo "buildconf: autoconf version $ac_version (ok)" | |
fi | ||
|
||
|
||
if test "$1" = "2" && test "$2" -ge "50"; then | ||
echo "buildconf: Your version of autoconf likely contains buggy cache code." | ||
echo " Running cvsclean for you." | ||
echo " To avoid this, install autoconf-2.13 and automake-1.5." | ||
./cvsclean | ||
stamp= | ||
fi | ||
|
||
|
||
# automake 1.4 or newer | ||
am_version=`automake --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'` | ||
am_version_clean=`echo $am_version|sed -e 's/-p[0-9]*$//'` | ||
|
@@ -91,4 +102,6 @@ if test "$am_prefix" != "$lt_prefix"; then | |
echo " continuing anyway" | ||
fi | ||
|
||
test -n "$stamp" && touch $stamp | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters