--- m4/apr_memcache.m4 2008-03-05 22:58:37.000000000 +0100 +++ m4/apr_memcache.m4.oden 2008-08-10 13:56:14.000000000 +0200 @@ -18,7 +18,7 @@ AC_ARG_WITH( apr-memcache-includes, [AC_HELP_STRING([--with-apr-memcache-includes=PATH],[Path to apr_memcache includes])], - apr_memcache_includes="$withval", + apr_memcache_includes="`apu-1-config --includes`" :) @@ -47,14 +47,14 @@ CFLAGS="-I$apr_memcache_includedir $CFLAGS" AC_CHECK_LIB( - apr_memcache, + aprutil-1, apr_memcache_create, [ - APR_MEMCACHE_LIBS="-lapr_memcache" + APR_MEMCACHE_LIBS="`apu-1-config --link-ld`" 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_CFLAGS="`apu-1-config --includes`" ] ) CFLAGS=$save_CFLAGS