* Added the MySQL ODBC connector.

* Enable unixODBC support in PHP.
* Build MySQL with thread-safe client libraries.

svn path=/nixpkgs/trunk/; revision=5045
This commit is contained in:
Eelco Dolstra
2006-03-15 15:59:20 +00:00
parent 3d24096431
commit 9f1b5e24ad
6 changed files with 43 additions and 4 deletions

View File

@@ -2,7 +2,15 @@ source $stdenv/setup
alias lex=flex
configureFlags="--with-libxml-dir=$libxml2 --with-apxs2=$apacheHttpd/bin/apxs --with-apr-util=$apacheHttpd"
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
makeFlags="APXS_LIBEXECDIR=$out/modules $makeFlags"
genericBuild