Diff for /embedaddon/php/build/buildcheck.sh between versions 1.1.1.1 and 1.1.1.3

version 1.1.1.1, 2012/02/21 23:47:53 version 1.1.1.3, 2014/06/15 20:03:41
Line 28  if test -z "$PHP_AUTOCONF"; then Line 28  if test -z "$PHP_AUTOCONF"; then
   PHP_AUTOCONF='autoconf'    PHP_AUTOCONF='autoconf'
 fi  fi
   
# autoconf 2.13 or newer# autoconf 2.59 or newer
 ac_version=`$PHP_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  if test -z "$ac_version"; then
 echo "buildconf: autoconf not found."  echo "buildconf: autoconf not found."
echo "           You need autoconf version 2.13 or newer installed"echo "           You need autoconf version 2.59 or newer installed"
echo "           to build PHP from SVN."echo "           to build PHP from Git."
 exit 1  exit 1
 fi  fi
 IFS=.; set $ac_version; IFS=' '  IFS=.; set $ac_version; IFS=' '
if test "$1" = "2" -a "$2" -lt "13" || test "$1" -lt "2"; thenif test "$1" = "2" -a "$2" -lt "59" || test "$1" -lt "2"; then
 echo "buildconf: autoconf version $ac_version found."  echo "buildconf: autoconf version $ac_version found."
echo "           You need autoconf version 2.13 or newer installed"echo "           You need autoconf version 2.59 or newer installed"
echo "           to build PHP from SVN."echo "           to build PHP from Git."
 exit 1  exit 1
 fi  
   
 if test "$1" = "2" -a "$2" -gt "59"; then  
   echo "buildconf: You need autoconf 2.59 or lower to build this version of PHP."  
   echo "           You are currently trying to use $ac_version"  
   echo "           Most distros have separate autoconf 2.13 or 2.59 packages."  
   echo "           On Debian/Ubuntu both autoconf2.13 and autoconf2.59 packages exist."  
   echo "           Install autoconf2.13 and set the PHP_AUTOCONF env var to "  
   echo "           autoconf2.13 and try again."  
   exit 1  
 else  else
  echo "buildconf: autoconf version $ac_version (ok)"echo "buildconf: autoconf version $ac_version (ok)"
fi 
 
if test "$1" = "2" -a "$2" -ge "50"; then 
  ./vcsclean 
  stamp= 
 fi  fi
   
 test -n "$stamp" && touch $stamp  test -n "$stamp" && touch $stamp

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>