SOURCES: apr-util-dbd.patch (NEW) - don't link with sql stuff (we ...

arekm arekm at pld-linux.org
Mon Jan 2 09:59:53 CET 2006


Author: arekm                        Date: Mon Jan  2 08:59:53 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't link with sql stuff (we have DSOs for that linked manually from spec file)

---- Files affected:
SOURCES:
   apr-util-dbd.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/apr-util-dbd.patch
diff -u /dev/null SOURCES/apr-util-dbd.patch:1.1
--- /dev/null	Mon Jan  2 09:59:53 2006
+++ SOURCES/apr-util-dbd.patch	Mon Jan  2 09:59:48 2006
@@ -0,0 +1,47 @@
+diff -ur apr-util-1.2.2.org/build/dbd.m4 apr-util-1.2.2/build/dbd.m4
+--- apr-util-1.2.2.org/build/dbd.m4	2005-05-05 21:24:29.000000000 +0200
++++ apr-util-1.2.2/build/dbd.m4	2006-01-02 11:55:00.740963000 +0100
+@@ -63,10 +63,6 @@
+   AC_SUBST(apu_have_pgsql)
+   dnl Since we have already done the AC_CHECK_LIB tests, if we have it, 
+   dnl we know the library is there.
+-  if test "$apu_have_pgsql" = "1"; then
+-    APR_ADDTO(APRUTIL_EXPORT_LIBS,[-lpq])
+-    APR_ADDTO(APRUTIL_LIBS,[-lpq])
+-  fi
+ ])
+ dnl
+ AC_DEFUN([APU_CHECK_DBD_MYSQL], [
+@@ -114,10 +110,6 @@
+ 
+   dnl Since we have already done the AC_CHECK_LIB tests, if we have it, 
+   dnl we know the library is there.
+-  if test "$apu_have_mysql" = "1"; then
+-    APR_ADDTO(APRUTIL_EXPORT_LIBS,[-lmysqlclient_r])
+-    APR_ADDTO(APRUTIL_LIBS,[-lmysqlclient_r])
+-  fi
+ ])
+ dnl
+ AC_DEFUN([APU_CHECK_DBD_SQLITE3], [
+@@ -151,10 +143,6 @@
+ 
+   dnl Since we have already done the AC_CHECK_LIB tests, if we have it, 
+   dnl we know the library is there.
+-  if test "$apu_have_sqlite3" = "1"; then
+-    APR_ADDTO(APRUTIL_EXPORT_LIBS,[-lsqlite3])
+-    APR_ADDTO(APRUTIL_LIBS,[-lsqlite3])
+-  fi
+ ])
+ dnl
+ AC_DEFUN([APU_CHECK_DBD_SQLITE2], [
+@@ -188,10 +176,6 @@
+ 
+   dnl Since we have already done the AC_CHECK_LIB tests, if we have it, 
+   dnl we know the library is there.
+-  if test "$apu_have_sqlite2" = "1"; then
+-    APR_ADDTO(APRUTIL_EXPORT_LIBS,[-lsqlite])
+-    APR_ADDTO(APRUTIL_LIBS,[-lsqlite])
+-  fi
+ ])
+ dnl
+ 
================================================================


More information about the pld-cvs-commit mailing list