apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r359470 - /apr/apr-util/trunk/build/dbd.m4
Date Wed, 28 Dec 2005 10:37:40 GMT
Author: niq
Date: Wed Dec 28 02:37:38 2005
New Revision: 359470

URL: http://svn.apache.org/viewcvs?rev=359470&view=rev
Log:
PR#37664
Check for OCIEnvCreate for Oracle in m4

Modified:
    apr/apr-util/trunk/build/dbd.m4

Modified: apr/apr-util/trunk/build/dbd.m4
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/build/dbd.m4?rev=359470&r1=359469&r2=359470&view=diff
==============================================================================
--- apr/apr-util/trunk/build/dbd.m4 (original)
+++ apr/apr-util/trunk/build/dbd.m4 Wed Dec 28 02:37:38 2005
@@ -202,7 +202,7 @@
   ], [
     apu_have_oracle=0
     if test "$withval" = "yes"; then
-      AC_CHECK_HEADER(oci.h, AC_CHECK_LIB(clntsh, OCILogon, [apu_have_oracle=1]))
+      AC_CHECK_HEADER(oci.h, AC_CHECK_LIB(clntsh, OCIEnvCreate, [apu_have_oracle=1]))
     elif test "$withval" = "no"; then
       apu_have_oracle=0
     else
@@ -210,7 +210,7 @@
       LIBS="-L$withval/lib "
 
       AC_MSG_NOTICE(checking for oracle in $withval)
-      AC_CHECK_HEADER(oci.h, AC_CHECK_LIB(clntsh, OCILogon, [apu_have_oracle=1]))
+      AC_CHECK_HEADER(oci.h, AC_CHECK_LIB(clntsh, OCIEnvCreate, [apu_have_oracle=1]))
       if test "$apu_have_oracle" != "0"; then
         APR_ADDTO(APRUTIL_LDFLAGS, [-L$withval/lib])
         APR_ADDTO(APRUTIL_LDFLAGS, [-R$withval/lib])
@@ -220,7 +220,7 @@
     fi
   ], [
     apu_have_oracle=0
-    AC_CHECK_HEADER(oci.h, AC_CHECK_LIB(clntsh, OCILogon, [apu_have_oracle=1]))
+    AC_CHECK_HEADER(oci.h, AC_CHECK_LIB(clntsh, OCIEnvCreate, [apu_have_oracle=1]))
   ])
 
   AC_SUBST(apu_have_oracle)



Mime
View raw message