Navigation Menu

Skip to content

Commit

Permalink
some people would prefer to be able to specify. So, we specify --Zend…
Browse files Browse the repository at this point in the history
…Engine2 for ZE2 builds, Zend for the rest.
  • Loading branch information
James Cox committed Jun 23, 2002
1 parent bca90b0 commit 372cab2
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions buildconf
Expand Up @@ -7,10 +7,16 @@ if test "$supplied_flag" = "--copy"; then
automake_flags=--copy
fi

if test -d "ZendEngine2"; then
mv ZendEngine2 Zend
if test "$supplied_flag" = "--ZendEngine2"; then
ZENDDIR=ZendEngine2
echo "Using Zend Engine 2 code"
fi

if test "$ZENDDIR" = ""; then
ZENDDIR=Zend
echo "using Zend Engine 1 code"
fi

## build.mk does not check aclocal exit status yet
##
#mv aclocal.m4 aclocal.m4.old 2>/dev/null
Expand All @@ -37,4 +43,4 @@ case "`uname`" in
./build/bsd_makefile;;
esac

${MAKE:-make} -s -f build/build.mk AMFLAGS="$automake_flags"
${MAKE:-make} -s -f build/build.mk AMFLAGS="$automake_flags" ZENDDIR="$ZENDDIR"

0 comments on commit 372cab2

Please sign in to comment.