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.
Adding the ability to override the autotools executables used by the
buildconf script via the PHP_AUTOCONF and PHP_AUTOHEADER environmental variables.
- Loading branch information
Showing
3 changed files
with
14 additions
and
4 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
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,15 +16,20 @@ | |
# | Sascha Schumann <[email protected]> | | ||
# +----------------------------------------------------------------------+ | ||
# | ||
# $Id: buildcheck.sh,v 1.34 2005-01-20 01:41:19 sniper Exp $ | ||
# $Id: buildcheck.sh,v 1.35 2005-04-04 07:16:01 jon Exp $ | ||
# | ||
|
||
echo "buildconf: checking installation..." | ||
|
||
stamp=$1 | ||
|
||
# Allow the autoconf executable to be overriden by $PHP_AUTOCONF. | ||
if test -z "$PHP_AUTOCONF"; then | ||
PHP_AUTOCONF='autoconf' | ||
fi | ||
|
||
# autoconf 2.13 or newer | ||
ac_version=`autoconf --version 2>/dev/null|head -n 1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'` | ||
ac_version=`$PHP_AUTOCONF --version 2>/dev/null|head -n 1|sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'` | ||
if test -z "$ac_version"; then | ||
echo "buildconf: autoconf not found." | ||
echo " You need autoconf version 2.13 or newer installed" | ||
|