Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 41 lines (32 sloc) 0.936 kb
cc5e008 @zsuraski * Added buildconf, runs all the scripts necessary to build configure (St...
zsuraski authored
1 #!/bin/sh
117d6a4 Let user override default setting of ``make''
Sascha Schumann authored
2 # $Id$
cc5e008 @zsuraski * Added buildconf, runs all the scripts necessary to build configure (St...
zsuraski authored
3
1207465 @zsuraski This should sort the buildconf bug...
zsuraski authored
4 supplied_flag=$1
5
6 if test "$supplied_flag" = "--copy"; then
84656f1 add checks for autoconf, automake and whether libzend/TSRM is around
Stig Bakken authored
7 automake_flags=--copy
8a7784d make copy optional
Sascha Schumann authored
8 fi
9
bca90b0 changing this to mv ZendEngine2 Zend instead of shell logic that isn't p...
James Cox authored
10 if test -d "ZendEngine2"; then
11 mv ZendEngine2 Zend
12 fi
13
6c6c0a6 Remove some more redundant checks. buildconf is not but a simple wrappe...
Stig Bakken authored
14 ## build.mk does not check aclocal exit status yet
263c685 @buildconf now uses build.mk
Stig Bakken authored
15 ##
16 #mv aclocal.m4 aclocal.m4.old 2>/dev/null
17 #aclocal
18 #if test "$?" != "0" -a "$am_prefix" != "$lt_prefix"; then
19 # echo "buildconf: ERROR: aclocal failed, probably because automake and"
20 # echo " libtool are installed with different prefixes;"
21 # echo " automake is installed in $am_prefix, but libtool in $lt_prefix."
22 # echo " Please re-install automake and/or libtool with a common prefix"
23 # echo " and try again."
24 # exit 1
25 #fi
26
27 if test "$supplied_flag" = "--local"; then
28 subdirs='SUBDIRS='
aac5a43 keep old files if they are not modified
Stig Bakken authored
29 else
263c685 @buildconf now uses build.mk
Stig Bakken authored
30 subdirs=''
aac5a43 keep old files if they are not modified
Stig Bakken authored
31 fi
32
0181cae Some crappy makes don't handle the .PHONY target correctly.
Sascha Schumann authored
33 rm -f generated_lists
34
a2f126c Build compat bridge for makes which support only the BSD .include comman...
Sascha Schumann authored
35 case "`uname`" in
36 *BSD/OS*)
37 ./build/bsd_makefile;;
38 esac
39
f2f8d38 Integration of -ng changes. Changes:
Sascha Schumann authored
40 ${MAKE:-make} -s -f build/build.mk AMFLAGS="$automake_flags"
Something went wrong with that request. Please try again.