2005-12-05 14:11:09 +00:00
|
|
|
source $stdenv/setup
|
2005-09-11 22:39:22 +01:00
|
|
|
|
|
|
|
alias lex=flex
|
|
|
|
|
2006-03-15 15:59:20 +00:00
|
|
|
configureFlags="$configureFlags \
|
|
|
|
--with-libxml-dir=$libxml2 \
|
|
|
|
--with-apxs2=$apacheHttpd/bin/apxs \
|
2007-09-11 13:55:09 +01:00
|
|
|
--without-libexpat-dir"
|
2006-03-15 15:59:20 +00:00
|
|
|
|
|
|
|
if test -n "$unixODBC"; then
|
|
|
|
configureFlags="$configureFlags --with-unixODBC=$unixODBC"
|
|
|
|
fi
|
2006-07-09 16:00:37 +01:00
|
|
|
|
|
|
|
if test -n "$postgresql"; then
|
|
|
|
configureFlags="$configureFlags --with-pgsql=$postgresql"
|
|
|
|
fi
|
2007-10-30 16:04:45 +00:00
|
|
|
|
|
|
|
if test -n "$mysql"; then
|
|
|
|
configureFlags="$configureFlags --with-mysql=$mysql"
|
|
|
|
fi
|
2006-03-15 15:59:20 +00:00
|
|
|
|
2005-09-11 22:39:22 +01:00
|
|
|
makeFlags="APXS_LIBEXECDIR=$out/modules $makeFlags"
|
|
|
|
|
|
|
|
genericBuild
|