From: Antony Dovgal Date: Mon, 14 Aug 2006 20:11:31 +0000 (+0000) Subject: fix #38451 (PDO_MYSQL doesn't compile on Solaris) X-Git-Tag: php-5.2.0RC2~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d677ad6789d512eb8ae36f57c3c061e3d6cc5c50;p=php fix #38451 (PDO_MYSQL doesn't compile on Solaris) --- 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)