cvs: php4 /ext/interbase config.m4
| From: | Jani Taskinen | Date: | Fri, 25 Apr 2003 08:57:50 +0000 |
| Subject: | cvs: php4 /ext/interbase config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20486@lists.php.net to get a copy of this message | ||
sniper Fri Apr 25 04:57:50 2003 EDT
Modified files:
/php4/ext/interbase config.m4
Log:
Fixed bug #23099 (ext/interbase: "libgds.so: undefined reference to crypt")
Index: php4/ext/interbase/config.m4
diff -u php4/ext/interbase/config.m4:1.11 php4/ext/interbase/config.m4:1.12
--- php4/ext/interbase/config.m4:1.11 Fri Mar 14 03:27:29 2003
+++ php4/ext/interbase/config.m4 Fri Apr 25 04:57:49 2003
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.11 2003/03/14 08:27:29 daniela Exp $
+dnl $Id: config.m4,v 1.12 2003/04/25 08:57:49 sniper Exp $
dnl
PHP_ARG_WITH(interbase,for InterBase support,
@@ -17,13 +17,21 @@
PHP_CHECK_LIBRARY(gds, isc_detach_database,
[
- PHP_ADD_LIBRARY_WITH_PATH(gds, $IBASE_LIBDIR, INTERBASE_SHARED_LIBADD)
+ IBASE_LIBNAME=gds
], [
- AC_MSG_ERROR([libgds not found! Check config.log for more information.])
+ PHP_CHECK_LIBRARY(ib_util, isc_detach_database,
+ [
+ IBASE_LIBNAME=ib_util
+ ], [
+ AC_MSG_ERROR([libgds or libib_util not found! Check config.log for more information.])
+ ], [
+ -L$IBASE_LIBDIR
+ ])
], [
- -L$IBASE_LIBDIR -lgds
+ -L$IBASE_LIBDIR
])
+ PHP_ADD_LIBRARY_WITH_PATH($IBASE_LIBNAME, $IBASE_LIBDIR, INTERBASE_SHARED_LIBADD)
PHP_ADD_INCLUDE($IBASE_INCDIR)
AC_DEFINE(HAVE_IBASE,1,[ ])
PHP_NEW_EXTENSION(interbase, interbase.c, $ext_shared)