summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-05-19 11:54:00 +0000
committerfoobar <sniper@php.net>2003-05-19 11:54:00 +0000
commit7575a5e1df4ee3e65fe032bd152dc0c696ba440a (patch)
tree765039c8072c5363e21f431cc1a7e983b13a2a12 /buildconf
parent0eb791969bc39f3f1ca60f281b669e6abd112879 (diff)
downloadphp-git-7575a5e1df4ee3e65fe032bd152dc0c696ba440a.tar.gz
cleanup
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf43
1 files changed, 19 insertions, 24 deletions
diff --git a/buildconf b/buildconf
index 8c4ab6c298..0f729e4d6c 100755
--- a/buildconf
+++ b/buildconf
@@ -3,43 +3,38 @@
eval `grep '^EXTRA_VERSION=' configure.in`
case "$EXTRA_VERSION" in
- *-dev)
- dev=1
- ;;
- *)
- dev=0
- ;;
+ *-dev)
+ dev=1
+ ;;
+ *)
+ dev=0
+ ;;
esac
devok=0
while test $# -gt 0; do
- if test "$1" = "--copy"; then
- automake_flags=--copy
- fi
+ if test "$1" = "--copy"; then
+ automake_flags=--copy
+ fi
- if test "$1" = "--ZendEngine2"; then
- ZENDDIR=ZendEngine2
- echo "Using Zend Engine 2 code"
- fi
+ if test "$1" = "--force"; then
+ devok=1
+ echo "Forcing buildconf"
+ fi
- if test "$1" = "--force"; then
- devok=1
- echo "Forcing buildconf"
- fi
-
- shift
+ shift
done
if test "$dev" = "0" -a "$devok" = "0"; then
- echo "You should not run buildconf in a release package."
- echo "use buildconf --force to override this check."
- exit 1
+ echo "You should not run buildconf in a release package."
+ echo "use buildconf --force to override this check."
+ exit 1
fi
if test -z "$ZENDDIR"; then
- ZENDDIR=Zend
- echo "using default Zend directory"
+ ZENDDIR=Zend
+ echo "using default Zend directory"
fi
rm -f generated_lists