apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r658077 - /apr/apr-util/branches/1.3.x/build/dbd.m4
Date Tue, 20 May 2008 01:19:28 GMT
Author: bojan
Date: Mon May 19 18:19:28 2008
New Revision: 658077

URL: http://svn.apache.org/viewvc?rev=658077&view=rev
Log:
Backport 658076 from the trunk.
Use --libdir instead of --libs for PGSQL (manual confirms).

Modified:
    apr/apr-util/branches/1.3.x/build/dbd.m4

Modified: apr/apr-util/branches/1.3.x/build/dbd.m4
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/build/dbd.m4?rev=658077&r1=658076&r2=658077&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/build/dbd.m4 (original)
+++ apr/apr-util/branches/1.3.x/build/dbd.m4 Mon May 19 18:19:28 2008
@@ -34,7 +34,7 @@
       AC_PATH_PROG([PGSQL_CONFIG],[pg_config])
       if test "x$PGSQL_CONFIG" != 'x'; then
         pgsql_CPPFLAGS="-I`$PGSQL_CONFIG --includedir`"
-        pgsql_LDFLAGS="`$PGSQL_CONFIG --libs`"
+        pgsql_LDFLAGS="-L`$PGSQL_CONFIG --libdir`"
 
         APR_ADDTO(CPPFLAGS, [$pgsql_CPPFLAGS])
         APR_ADDTO(LDFLAGS, [$pgsql_LDFLAGS])
@@ -50,7 +50,7 @@
       AC_PATH_PROG([PGSQL_CONFIG],[pg_config],,[$withval/bin])
       if test "x$PGSQL_CONFIG" != 'x'; then
         pgsql_CPPFLAGS="-I`$PGSQL_CONFIG --includedir`"
-        pgsql_LDFLAGS="`$PGSQL_CONFIG --libs`"
+        pgsql_LDFLAGS="-L`$PGSQL_CONFIG --libdir`"
       else
         pgsql_CPPFLAGS="-I$withval/include"
         pgsql_LDFLAGS="-L$withval/lib "
@@ -77,7 +77,7 @@
     AC_PATH_PROG([PGSQL_CONFIG],[pg_config])
     if test "x$PGSQL_CONFIG" != 'x'; then
       pgsql_CPPFLAGS="-I`$PGSQL_CONFIG --includedir`"
-      pgsql_LDFLAGS="`$PGSQL_CONFIG --libs`"
+      pgsql_LDFLAGS="-L`$PGSQL_CONFIG --libdir`"
 
       APR_ADDTO(CPPFLAGS, [$pgsql_CPPFLAGS])
       APR_ADDTO(LDFLAGS, [$pgsql_LDFLAGS])



Mime
View raw message