Skip to content

Commit

Permalink
Revert undiscussed / undecided patch
Browse files Browse the repository at this point in the history
  • Loading branch information
foobar committed Dec 2, 2003
1 parent 9fd1395 commit e4c6142
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions buildconf
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit e4c6142

Please sign in to comment.