1 diff -ur apr-util-1.2.2.org/build/dbd.m4 apr-util-1.2.2/build/dbd.m4
2 --- apr-util-1.2.2.org/build/dbd.m4 2005-05-05 21:24:29.000000000 +0200
3 +++ apr-util-1.2.2/build/dbd.m4 2006-01-02 11:55:00.740963000 +0100
5 AC_SUBST(apu_have_pgsql)
6 dnl Since we have already done the AC_CHECK_LIB tests, if we have it,
7 dnl we know the library is there.
8 - if test "$apu_have_pgsql" = "1"; then
9 - APR_ADDTO(APRUTIL_EXPORT_LIBS,[-lpq])
10 - APR_ADDTO(APRUTIL_LIBS,[-lpq])
14 AC_DEFUN([APU_CHECK_DBD_MYSQL], [
17 dnl Since we have already done the AC_CHECK_LIB tests, if we have it,
18 dnl we know the library is there.
19 - if test "$apu_have_mysql" = "1"; then
20 - APR_ADDTO(APRUTIL_EXPORT_LIBS,[-lmysqlclient_r])
21 - APR_ADDTO(APRUTIL_LIBS,[-lmysqlclient_r])
25 AC_DEFUN([APU_CHECK_DBD_SQLITE3], [
28 dnl Since we have already done the AC_CHECK_LIB tests, if we have it,
29 dnl we know the library is there.
30 - if test "$apu_have_sqlite3" = "1"; then
31 - APR_ADDTO(APRUTIL_EXPORT_LIBS,[-lsqlite3])
32 - APR_ADDTO(APRUTIL_LIBS,[-lsqlite3])
36 AC_DEFUN([APU_CHECK_DBD_SQLITE2], [
39 dnl Since we have already done the AC_CHECK_LIB tests, if we have it,
40 dnl we know the library is there.
41 - if test "$apu_have_sqlite2" = "1"; then
42 - APR_ADDTO(APRUTIL_EXPORT_LIBS,[-lsqlite])
43 - APR_ADDTO(APRUTIL_LIBS,[-lsqlite])