apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r390268 - in /apr/apr-util/trunk: CHANGES build/dbd.m4
Date Thu, 30 Mar 2006 22:42:25 GMT
Author: rooneg
Date: Thu Mar 30 14:42:25 2006
New Revision: 390268

URL: http://svn.apache.org/viewcvs?rev=390268&view=rev
Log:
Fix some configure-glue to work correctly on Solaris with the Sun
Studio compilers.

* build/dbd.m4: Use LDFLAGS instead of LIBS where appropriate.

* CHANGES: Note change.

Submitted by: Henry Jen <henryjen ztune.net>
Reviewed by: wrowe, rooneg

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

Modified: apr/apr-util/trunk/CHANGES
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/CHANGES?rev=390268&r1=390267&r2=390268&view=diff
==============================================================================
--- apr/apr-util/trunk/CHANGES (original)
+++ apr/apr-util/trunk/CHANGES Thu Mar 30 14:42:25 2006
@@ -1,5 +1,9 @@
 Changes with APR-util 1.3.0
 
+  *) Make the DBD autoconf-glue use LDFLAGS instead of LIBS in several
+     places, fixing some configure issues on Solaris.
+     [Henry Jen <henryjen ztune.net>]
+
   *) Make apr_dbd.h work as a stand alone header, without needing other
      files to be included before it. [Henry Jen <henryjen ztune.net>]
 

Modified: apr/apr-util/trunk/build/dbd.m4
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/build/dbd.m4?rev=390268&r1=390267&r2=390268&view=diff
==============================================================================
--- apr/apr-util/trunk/build/dbd.m4 (original)
+++ apr/apr-util/trunk/build/dbd.m4 Thu Mar 30 14:42:25 2006
@@ -40,7 +40,7 @@
       apu_have_pgsql=0
     else
       CPPFLAGS="-I$withval/include"
-      LIBS="-L$withval/lib "
+      LDFLAGS="-L$withval/lib "
 
       AC_MSG_NOTICE(checking for pgsql in $withval)
       AC_CHECK_HEADER(libpq-fe.h, AC_CHECK_LIB(pq, PQsendQueryPrepared, [apu_have_pgsql=1]))
@@ -88,7 +88,7 @@
       apu_have_mysql=0
     else
       CPPFLAGS="-I$withval/include"
-      LIBS="-L$withval/lib "
+      LDFLAGS="-L$withval/lib "
 
       AC_MSG_NOTICE(checking for mysql in $withval)
       AC_CHECK_HEADER(mysql.h, AC_CHECK_LIB(mysqlclient_r, mysql_init, [apu_have_mysql=1]))
@@ -133,7 +133,7 @@
       apu_have_sqlite3=0
     else
       CPPFLAGS="-I$withval/include"
-      LIBS="-L$withval/lib "
+      LDFLAGS="-L$withval/lib "
 
       AC_MSG_NOTICE(checking for sqlite3 in $withval)
       AC_CHECK_HEADER(sqlite3.h, AC_CHECK_LIB(sqlite3, sqlite3_open, [apu_have_sqlite3=1]))
@@ -170,7 +170,7 @@
       apu_have_sqlite2=0
     else
       CPPFLAGS="-I$withval/include"
-      LIBS="-L$withval/lib "
+      LDFLAGS="-L$withval/lib "
 
       AC_MSG_NOTICE(checking for sqlite2 in $withval)
       AC_CHECK_HEADER(sqlite.h, AC_CHECK_LIB(sqlite, sqlite_open, [apu_have_sqlite2=1]))
@@ -207,7 +207,7 @@
       apu_have_oracle=0
     else
       CPPFLAGS="-I$withval/rdbms/demo -I$withval/rdbms/public"
-      LIBS="-L$withval/lib "
+      LDFLAGS="-L$withval/lib "
 
       AC_MSG_NOTICE(checking for oracle in $withval)
       AC_CHECK_HEADER(oci.h, AC_CHECK_LIB(clntsh, OCIEnvCreate, [apu_have_oracle=1]))



Mime
View raw message