cvs: php-src / buildconf

From: Date: Tue, 02 Dec 2003 08:00:24 +0000
Subject: cvs: php-src / buildconf
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-24817@lists.php.net to get a copy of this message
sniper Tue Dec 2 03:00:24 2003 EDT Modified files: /php-src buildconf Log: Revert undiscussed / undecided patch Index: php-src/buildconf diff -u php-src/buildconf:1.61 php-src/buildconf:1.62 --- php-src/buildconf:1.61 Mon Dec 1 16:37:35 2003 +++ php-src/buildconf Tue Dec 2 03:00:23 2003 @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: buildconf,v 1.61 2003/12/01 21:37:35 iliaa Exp $ +# $Id: buildconf,v 1.62 2003/12/02 08:00:23 sniper Exp $ eval grep '^EXTRA_VERSION=' configure.in case "$EXTRA_VERSION" in @@ -12,32 +12,19 @@ esac devok=0 -pecl_args=0 -# Import 'gold' extensions from PECL -GOLDEN='tidy' +while test $# -gt 0; do + if test "$1" = "--copy"; then + automake_flags=--copy + fi + + if test "$1" = "--force"; then + devok=1 + echo "Forcing buildconf" + fi -for i in $*; do - if test "$i" = "--pecl-import"; then - pecl_args=1 - elif test "$i" = "--copy"; then - automake_flags=--copy - pecl_args=0 - elif test "$i" = "--force"; then - devok=1 - echo "Forcing buildconf" - pecl_args=0 - elif test $pecl_args -eq 1; then - # Allow the developer to specify some custom PECL extensions to fetch - GOLDEN=$GOLDEN" "$i - fi -done; - -cd ext; -for ext in $GOLDEN; do - cvs co -d $ext pecl/$ext; + shift done -cd ..; if test "$dev" = "0" -a "$devok" = "0"; then echo "You should not run buildconf in a release package."

« previous php.cvs (#24817) next »