blob: bc95fee5d5924cc210b5343377188bdc0942871d [file] [log] [blame]
--- mod_gnutls-0.7.1/m4/apr_memcache.m4
+++ mod_gnutls-0.7.1/m4/apr_memcache.m4
@@ -40,23 +40,20 @@
if test -n "$apr_memcache_includes"; then
apr_memcache_includedir=$apr_memcache_includes
elif test -n "$apr_memcache_prefix"; then
- apr_memcache_includedir=$apr_memcache_prefix/include/apr_memcache-0
+ apr_memcache_includedir=$apr_memcache_prefix/include/aprutil-1
else
- apr_memcache_includedir=$includedir/apr_memcache-0
+ apr_memcache_includedir=$includedir/aprutil-1
fi
CFLAGS="-I$apr_memcache_includedir $CFLAGS"
AC_CHECK_LIB(
- apr_memcache,
+ aprutil-1,
apr_memcache_create,
[
- APR_MEMCACHE_LIBS="-lapr_memcache"
- if test -n "$apr_memcache_libdir"; then
- APR_MEMCACHE_LIBS="-R$apr_memcache_libdir -L$apr_memcache_libdir $APR_MEMCACHE_LIBS"
- fi
- APR_MEMCACHE_CFLAGS="-I$apr_memcache_includedir"
+ APR_MEMCACHE_LIBS="`apu-1-config --link-ld`"
+ APR_MEMCACHE_CFLAGS="`apu-1-config --includes`"
]
)