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