Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 47 lines (38 sloc) 0.772 kb
cc5e008b » zsuraski
1999-04-18 * Added buildconf, runs all the scripts necessary to build configure …
1 #!/bin/sh
117d6a41 » Sascha Schumann
1999-12-02 Let user override default setting of ``make''
2 # $Id$
cc5e008b » zsuraski
1999-04-18 * Added buildconf, runs all the scripts necessary to build configure …
3
8684e749 » Jani Taskinen
2007-07-26 MFH: - Made build system less major version dependant to ease MFB/MFH
4 eval `grep '^PHP_EXTRA_VERSION=' configure.in`
5 case "$PHP_EXTRA_VERSION" in
7575a5e1 » foobar
2003-05-19 cleanup
6 *-dev)
7 dev=1
8 ;;
9 *)
10 dev=0
11 ;;
0eb79196 » wez
2003-05-19 MFB buildconf sanity check
12 esac
13
14 devok=0
52e00b8f » foobar
2005-01-19 Added --debug option to buildconf
15 debug=no
0eb79196 » wez
2003-05-19 MFB buildconf sanity check
16
e4c61428 » foobar
2003-12-02 Revert undiscussed / undecided patch
17 while test $# -gt 0; do
18 if test "$1" = "--force"; then
19 devok=1
20 echo "Forcing buildconf"
21 fi
8a7784d4 » Sascha Schumann
1999-07-17 make copy optional
22
52e00b8f » foobar
2005-01-19 Added --debug option to buildconf
23 if test "$1" = "--debug"; then
24 debug=yes
25 fi
26
e4c61428 » foobar
2003-12-02 Revert undiscussed / undecided patch
27 shift
5278f12e » Sascha Schumann
2002-06-24 iterate through passed arguments
28 done
bca90b07 » James Cox
2002-06-23 changing this to mv ZendEngine2 Zend instead of shell logic that isn'…
29
0eb79196 » wez
2003-05-19 MFB buildconf sanity check
30 if test "$dev" = "0" -a "$devok" = "0"; then
7575a5e1 » foobar
2003-05-19 cleanup
31 echo "You should not run buildconf in a release package."
32 echo "use buildconf --force to override this check."
33 exit 1
0eb79196 » wez
2003-05-19 MFB buildconf sanity check
34 fi
15c95605 » Christopher Jones
2012-03-06 Make "buildconf --force" more robust, per IRC chat. Not backported to…
35
36 if test "$devok" = "1"; then
37 echo "Removing configure caches"
38 rm -rf autom4te.cache config.cache
39 fi
40
0181cae3 » Sascha Schumann
2000-08-24 Some crappy makes don't handle the .PHONY target correctly.
41 rm -f generated_lists
42
996c9d85 » foobar
2005-02-03 - Fix buildconf with BSD make
43 if test "$debug" = "yes"; then
a56e81fe » Jani Taskinen
2009-07-20 - Removed unused parts
44 ${MAKE:-make} -s -f build/build.mk SUPPRESS_WARNINGS=""
996c9d85 » foobar
2005-02-03 - Fix buildconf with BSD make
45 else
a56e81fe » Jani Taskinen
2009-07-20 - Removed unused parts
46 ${MAKE:-make} -s -f build/build.mk
996c9d85 » foobar
2005-02-03 - Fix buildconf with BSD make
47 fi
Something went wrong with that request. Please try again.