3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/interpreters/php/builder.sh
Rob Vermaas d05cdd8064 added config flag for postrgres support
svn path=/nixpkgs/trunk/; revision=5668
2006-07-09 15:00:37 +00:00

21 lines
444 B
Bash

source $stdenv/setup
alias lex=flex
configureFlags="$configureFlags \
--with-libxml-dir=$libxml2 \
--with-apxs2=$apacheHttpd/bin/apxs \
--with-apr-util=$apacheHttpd"
if test -n "$unixODBC"; then
configureFlags="$configureFlags --with-unixODBC=$unixODBC"
fi
if test -n "$postgresql"; then
configureFlags="$configureFlags --with-pgsql=$postgresql"
fi
makeFlags="APXS_LIBEXECDIR=$out/modules $makeFlags"
genericBuild