Permalink
Newer
Older
100755 47 lines (37 sloc) 1.07 KB
4
supplied_flag=$1
5
6
if test "$supplied_flag" = "--copy"; then
Sascha Schumann
Jul 17, 1999
8
fi
9
10
if test "$supplied_flag" = "--ZendEngine2"; then
11
ZENDDIR=ZendEngine2
12
echo "Using Zend Engine 2 code"
15
if test "$ZENDDIR" = ""; then
16
ZENDDIR=Zend
17
echo "using Zend Engine 1 code"
18
fi
19
20
## build.mk does not check aclocal exit status yet
Stig Bakken
@buildconf now uses build.mk
Nov 28, 1999
21
##
22
#mv aclocal.m4 aclocal.m4.old 2>/dev/null
23
#aclocal
24
#if test "$?" != "0" -a "$am_prefix" != "$lt_prefix"; then
25
# echo "buildconf: ERROR: aclocal failed, probably because automake and"
26
# echo " libtool are installed with different prefixes;"
27
# echo " automake is installed in $am_prefix, but libtool in $lt_prefix."
28
# echo " Please re-install automake and/or libtool with a common prefix"
29
# echo " and try again."
30
# exit 1
31
#fi
32
33
if test "$supplied_flag" = "--local"; then
34
subdirs='SUBDIRS='
Stig Bakken
@buildconf now uses build.mk
Nov 28, 1999
36
subdirs=''
39
rm -f generated_lists
40
41
case "`uname`" in
42
*BSD/OS*)
43
./build/bsd_makefile;;
44
esac
45
46
${MAKE:-make} -s -f build/build.mk AMFLAGS="$automake_flags" ZENDDIR="$ZENDDIR"