]> granicus.if.org Git - php/commitdiff
Added search for libfbclient
authorArd Biesheuvel <abies@php.net>
Wed, 23 Feb 2005 17:44:22 +0000 (17:44 +0000)
committerArd Biesheuvel <abies@php.net>
Wed, 23 Feb 2005 17:44:22 +0000 (17:44 +0000)
ext/pdo_firebird/config.m4

index 92d2a5d6ef87ba0b9959866668c5a00a537e1c71..e09b30c3540d84e8a1eaf312d37d142fabd9e0c0 100644 (file)
@@ -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
     ])