summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-12-02 08:00:23 +0000
committerfoobar <sniper@php.net>2003-12-02 08:00:23 +0000
commite4c614285fa8c8c322d55b8730cd92c3dc29092b (patch)
treeb2d17b69abebe49addd56175df73e6472ed40946 /buildconf
parent9fd1395546fff9ba5744e2db0cb77b2a318f1ad7 (diff)
downloadphp-git-e4c614285fa8c8c322d55b8730cd92c3dc29092b.tar.gz
Revert undiscussed / undecided patch
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf31
1 files changed, 9 insertions, 22 deletions
diff --git a/buildconf b/buildconf
index c71df1f9e1..95aa69c1ba 100755
--- a/buildconf
+++ b/buildconf
@@ -12,32 +12,19 @@ case "$EXTRA_VERSION" in
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
-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;
+ if test "$1" = "--force"; then
+ devok=1
+ echo "Forcing buildconf"
+ fi
-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."