File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
buildconf
Revision
1.1.1.2 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue May 29 12:34:34 2012 UTC (12 years, 6 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
HEAD
php 5.4.3+patches
1: #!/bin/sh
2: # $Id: buildconf,v 1.1.1.2 2012/05/29 12:34:34 misho Exp $
3:
4: eval `grep '^PHP_EXTRA_VERSION=' configure.in`
5: case "$PHP_EXTRA_VERSION" in
6: *-dev)
7: dev=1
8: ;;
9: *)
10: dev=0
11: ;;
12: esac
13:
14: devok=0
15: debug=no
16:
17: while test $# -gt 0; do
18: if test "$1" = "--force"; then
19: devok=1
20: echo "Forcing buildconf"
21: fi
22:
23: if test "$1" = "--debug"; then
24: debug=yes
25: fi
26:
27: shift
28: done
29:
30: if test "$dev" = "0" -a "$devok" = "0"; then
31: echo "You should not run buildconf in a release package."
32: echo "use buildconf --force to override this check."
33: exit 1
34: fi
35:
36: if test "$devok" = "1"; then
37: echo "Removing configure caches"
38: rm -rf autom4te.cache config.cache
39: fi
40:
41: rm -f generated_lists
42:
43: if test "$debug" = "yes"; then
44: ${MAKE:-make} -s -f build/build.mk SUPPRESS_WARNINGS=""
45: else
46: ${MAKE:-make} -s -f build/build.mk
47: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>