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