summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-08-14 20:11:31 +0000
committerAntony Dovgal <tony2001@php.net>2006-08-14 20:11:31 +0000
commitd677ad6789d512eb8ae36f57c3c061e3d6cc5c50 (patch)
treeab95167587d9528fa299ada3b199466479884ca7
parentddb4d1fdcc2162edd7432080b117eaae6e24eb87 (diff)
downloadphp-git-d677ad6789d512eb8ae36f57c3c061e3d6cc5c50.tar.gz
fix #38451 (PDO_MYSQL doesn't compile on Solaris)
-rwxr-xr-xext/pdo_mysql/config.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/pdo_mysql/config.m4 b/ext/pdo_mysql/config.m4
index 44471d7430..12efdf9785 100755
--- a/ext/pdo_mysql/config.m4
+++ b/ext/pdo_mysql/config.m4
@@ -96,6 +96,7 @@ if test "$PHP_PDO_MYSQL" != "no"; then
PHP_CHECK_LIBRARY($PDO_MYSQL_LIBNAME, mysql_query,
[
+ PHP_EVAL_INCLINE($PDO_MYSQL_INCLUDE)
PHP_EVAL_LIBLINE($PDO_MYSQL_LIBS, PDO_MYSQL_SHARED_LIBADD)
],[
AC_MSG_ERROR([mysql_query missing!?])
@@ -124,7 +125,7 @@ if test "$PHP_PDO_MYSQL" != "no"; then
AC_MSG_RESULT($pdo_inc_path)
])
- PHP_NEW_EXTENSION(pdo_mysql, pdo_mysql.c mysql_driver.c mysql_statement.c, $ext_shared,,-I$pdo_inc_path $PDO_MYSQL_INCLUDE)
+ PHP_NEW_EXTENSION(pdo_mysql, pdo_mysql.c mysql_driver.c mysql_statement.c, $ext_shared,,-I$pdo_inc_path)
ifdef([PHP_ADD_EXTENSION_DEP],
[
PHP_ADD_EXTENSION_DEP(pdo_mysql, pdo)