Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 30 lines (24 sloc) 0.796 kB
cc5e008 @zsuraski * Added buildconf, runs all the scripts necessary to build configure …
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 …
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
6c6c0a6 Remove some more redundant checks. buildconf is not but a simple wra…
Stig Bakken authored
10 ## build.mk does not check aclocal exit status yet
263c685 @buildconf now uses build.mk
Stig Bakken authored
11 ##
12 #mv aclocal.m4 aclocal.m4.old 2>/dev/null
13 #aclocal
14 #if test "$?" != "0" -a "$am_prefix" != "$lt_prefix"; then
15 # echo "buildconf: ERROR: aclocal failed, probably because automake and"
16 # echo " libtool are installed with different prefixes;"
17 # echo " automake is installed in $am_prefix, but libtool in $lt_prefix."
18 # echo " Please re-install automake and/or libtool with a common prefix"
19 # echo " and try again."
20 # exit 1
21 #fi
22
23 if test "$supplied_flag" = "--local"; then
24 subdirs='SUBDIRS='
aac5a43 keep old files if they are not modified
Stig Bakken authored
25 else
263c685 @buildconf now uses build.mk
Stig Bakken authored
26 subdirs=''
aac5a43 keep old files if they are not modified
Stig Bakken authored
27 fi
28
117d6a4 Let user override default setting of ``make''
Sascha Schumann authored
29 ${MAKE:-make} -s -f build.mk AMFLAGS="$automake_flags" $subdirs
Something went wrong with that request. Please try again.