Re: cvs: php-src /ext/pdo_odbc config.m4
| From: | Wez Furlong | Date: | Thu, 07 Jul 2005 21:39:55 +0000 |
| Subject: | Re: cvs: php-src /ext/pdo_odbc config.m4 | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-32782@lists.php.net to get a copy of this message | ||
yes, no, yes.
configure was generated without the required -L path to the libs.
This was a shared build from under HEAD.
--Wez.
Jani Taskinen wrote:
Did you get a specific problem without those? Or did you just blindly add those and didn't notice the line with PHP_EVAL_LIBLINE() just before those tests?--JaniOn Thu, 7 Jul 2005, Wez Furlong wrote:wez Thu Jul 7 09:42:13 2005 EDTModified files:/php-src/ext/pdo_odbc config.m4Log: Hmm, these ldflags went AWOL. http://cvs.php.net/diff.php/php-src/ext/pdo_odbc/config.m4?r1=1.20&r2=1.21&ty=u Index: php-src/ext/pdo_odbc/config.m4 diff -u php-src/ext/pdo_odbc/config.m4:1.20 php-src/ext/pdo_odbc/config.m4:1.21--- php-src/ext/pdo_odbc/config.m4:1.20 Mon Jun 13 22:18:18 2005 +++ php-src/ext/pdo_odbc/config.m4 Thu Jul 7 09:42:12 2005@@ -1,4 +1,4 @@ -dnl $Id: config.m4,v 1.20 2005/06/14 02:18:18 sniper Exp $ +dnl $Id: config.m4,v 1.21 2005/07/07 13:42:12 wez Exp $ dnl config.m4 for extension pdo_odbc dnl vim:et:sw=2:ts=2: @@ -129,10 +129,10 @@ You should consider using unixODBC instead, and loading your libraries as a driver in that environment; it will emulate the functions required for PDO support. -])]) +])], $PDO_ODBC_LDFLAGS) ],[AC_MSG_ERROR([Your ODBC library does not exist or there was an error. Check config.log for more information])- ]) + ], $PDO_ODBC_LDFLAGS) PHP_NEW_EXTENSION(pdo_odbc, pdo_odbc.c odbc_driver.c odbc_stmt.c, $ext_shared,,-I$pdo_inc_path $PDO_ODBC_INCLUDE) PHP_SUBST(PDO_ODBC_SHARED_LIBADD)