fredagen den 2 december 2005 15.31 skrev Joe Orton:
> [corrected dev list]
>
> On Fri, Dec 02, 2005 at 02:46:55PM +0100, Oden Eriksson wrote:
> > apr-0.9.3-deplibs.patch:
>
> Already upstream.
It applies cleanly to apr-1.2.2
[...]
> > apr-util-1.2.2-postgresql.diff:
>
> If you make the test conditional and re-submit it this looks like it is
> needed.
Like the attached one?
--
Regards // Oden Eriksson
Mandriva: http://www.mandriva.com
NUX: http://li.nux.se
--- build/dbd.m4 2005-05-05 21:24:29.000000000 +0200
+++ build/dbd.m4.oden 2005-12-04 23:26:06.000000000 +0100
@@ -55,6 +55,13 @@
APR_ADDTO(APRUTIL_LDFLAGS, [-L$withval/lib])
fi
fi
+ if test "$apu_have_pgsql" != "1"; then
+ AC_CHECK_HEADER(pgsql/libpq-fe.h, AC_CHECK_LIB(pq, PQsendQueryPrepared, [apu_have_pgsql=1]))
+ if test "$apu_have_pgsql" != "0"; then
+ APR_ADDTO(APRUTIL_INCLUDES, [-I$withval/include/pgsql])
+ APR_ADDTO(APRUTIL_LDFLAGS, [-L$withval/lib])
+ fi
+ fi
fi
], [
apu_have_pgsql=0