summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird/config.m4
diff options
context:
space:
mode:
authorArd Biesheuvel <abies@php.net>2005-02-23 17:44:22 (GMT)
committerArd Biesheuvel <abies@php.net>2005-02-23 17:44:22 (GMT)
commitb9b03a7feb589a931df4b5809e6572a69f3d0d9a (patch)
tree76f0b0e6fd6b7f732b47fdd1458384b74c203a43 /ext/pdo_firebird/config.m4
parentd2627b51077c5a2ad937f044d51256178b5d01ef (diff)
downloadphp-b9b03a7feb589a931df4b5809e6572a69f3d0d9a.tar.gz
Added search for libfbclient
Diffstat (limited to 'ext/pdo_firebird/config.m4')
-rw-r--r--ext/pdo_firebird/config.m417
1 files changed, 12 insertions, 5 deletions
diff --git a/ext/pdo_firebird/config.m4 b/ext/pdo_firebird/config.m4
index 92d2a5d..e09b30c 100644
--- a/ext/pdo_firebird/config.m4
+++ b/ext/pdo_firebird/config.m4
@@ -15,15 +15,22 @@ if test "$PHP_PDO_FIREBIRD" != "no"; then
FIREBIRD_LIBDIR=$PHP_PDO_FIREBIRD/lib
fi
- PHP_CHECK_LIBRARY(gds, isc_detach_database,
+ PHP_CHECK_LIBRARY(fbclient, isc_detach_database,
[
- FIREBIRD_LIBNAME=gds
+ FIREBIRD_LIBNAME=fbclient
], [
- PHP_CHECK_LIBRARY(ib_util, isc_detach_database,
+ PHP_CHECK_LIBRARY(gds, isc_detach_database,
[
- FIREBIRD_LIBNAME=ib_util
+ FIREBIRD_LIBNAME=gds
], [
- AC_MSG_ERROR([libgds or libib_util not found! Check config.log for more information.])
+ PHP_CHECK_LIBRARY(ib_util, isc_detach_database,
+ [
+ FIREBIRD_LIBNAME=ib_util
+ ], [
+ AC_MSG_ERROR([libfbclient, libgds or libib_util not found! Check config.log for more information.])
+ ], [
+ -L$FIREBIRD_LIBDIR
+ ])
], [
-L$FIREBIRD_LIBDIR
])