mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Revert undiscussed / undecided patch
This commit is contained in:
parent
9fd1395546
commit
e4c614285f
1 changed files with 9 additions and 22 deletions
25
buildconf
25
buildconf
|
@ -12,32 +12,19 @@ case "$EXTRA_VERSION" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
devok=0
|
devok=0
|
||||||
pecl_args=0
|
|
||||||
|
|
||||||
# Import 'gold' extensions from PECL
|
while test $# -gt 0; do
|
||||||
GOLDEN='tidy'
|
if test "$1" = "--copy"; then
|
||||||
|
|
||||||
for i in $*; do
|
|
||||||
if test "$i" = "--pecl-import"; then
|
|
||||||
pecl_args=1
|
|
||||||
elif test "$i" = "--copy"; then
|
|
||||||
automake_flags=--copy
|
automake_flags=--copy
|
||||||
pecl_args=0
|
fi
|
||||||
elif test "$i" = "--force"; then
|
|
||||||
|
if test "$1" = "--force"; then
|
||||||
devok=1
|
devok=1
|
||||||
echo "Forcing buildconf"
|
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
|
fi
|
||||||
done;
|
|
||||||
|
|
||||||
cd ext;
|
shift
|
||||||
for ext in $GOLDEN; do
|
|
||||||
cvs co -d $ext pecl/$ext;
|
|
||||||
done
|
done
|
||||||
cd ..;
|
|
||||||
|
|
||||||
if test "$dev" = "0" -a "$devok" = "0"; then
|
if test "$dev" = "0" -a "$devok" = "0"; then
|
||||||
echo "You should not run buildconf in a release package."
|
echo "You should not run buildconf in a release package."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue