summaryrefslogtreecommitdiff
path: root/build/buildcheck.sh
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-01-20 01:41:20 +0000
committerfoobar <sniper@php.net>2005-01-20 01:41:20 +0000
commit480a3b08d5a045fb228a5ee628b5108db82ec2a6 (patch)
tree6631e1d6c809d9cfb1d20630d3eb12ab43ce6ef2 /build/buildcheck.sh
parentaaf344e642f383de683311ae69679acc314792f8 (diff)
downloadphp-git-480a3b08d5a045fb228a5ee628b5108db82ec2a6.tar.gz
- Changed phpize not to require automake and libtool.
- Fixed build system to always use bundled libtool files.
Diffstat (limited to 'build/buildcheck.sh')
-rwxr-xr-xbuild/buildcheck.sh41
1 files changed, 1 insertions, 40 deletions
diff --git a/build/buildcheck.sh b/build/buildcheck.sh
index 7ce21a157a..4d0a51b5b3 100755
--- a/build/buildcheck.sh
+++ b/build/buildcheck.sh
@@ -16,7 +16,7 @@
# | Sascha Schumann <sascha@schumann.cx> |
# +----------------------------------------------------------------------+
#
-# $Id: buildcheck.sh,v 1.33 2005-01-19 22:27:39 sniper Exp $
+# $Id: buildcheck.sh,v 1.34 2005-01-20 01:41:19 sniper Exp $
#
echo "buildconf: checking installation..."
@@ -41,7 +41,6 @@ else
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."
@@ -50,44 +49,6 @@ if test "$1" = "2" && test "$2" -ge "50"; then
stamp=
fi
-# libtoolize 1.4.3 or newer
-# Prefer glibtoolize over libtoolize for Mac OS X compatibility
-libtoolize=`./build/shtool path glibtoolize libtoolize 2> /dev/null`
-lt_pversion=`$libtoolize --version 2>/dev/null|head -n 1|awk -F' ' '{print $NF}'`
-if test "$lt_pversion" = ""; then
-echo "buildconf: libtool not found."
-echo " You need libtool version 1.4.3 or newer installed"
-echo " to build PHP from CVS."
-exit 1
-fi
-IFS=.; set $lt_pversion; IFS=' '
-
-if test "$3" = ""; then
- third=0
-else
- third=$3
-fi
-
-if test "$1" -gt "1" || test "$2" -ge "5" || (test "$2" -ge "4" && test "$third" -ge "3")
-then
-echo "buildconf: libtool version $lt_pversion (ok)"
-else
-echo "buildconf: libtool version $lt_pversion found."
-echo " You need libtool version 1.4.3 or newer installed"
-echo " to build PHP from CVS."
-exit 1
-fi
-
-ltpath=`echo $libtoolize | sed -e 's#/[^/]*/[^/]*$##'`
-ltfile="$ltpath/share/aclocal/libtool.m4"
-if test -r "$ltfile"; then
- :
-else
- echo "buildconf: $ltfile does not exist."
- echo " Please reinstall libtool."
- exit 1
-fi
-
test -n "$stamp" && touch $stamp
exit 0