From b9b03a7feb589a931df4b5809e6572a69f3d0d9a Mon Sep 17 00:00:00 2001 From: Ard Biesheuvel Date: Wed, 23 Feb 2005 17:44:22 +0000 Subject: [PATCH] Added search for libfbclient --- ext/pdo_firebird/config.m4 | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/ext/pdo_firebird/config.m4 b/ext/pdo_firebird/config.m4 index 92d2a5d6ef..e09b30c354 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 ]) -- 2.50.1