From: Moriyoshi Koizumi Date: Thu, 16 Dec 2004 23:18:14 +0000 (+0000) Subject: - MFH X-Git-Tag: php-5.0.4RC1~463 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c563365b2fd535e67ddd0c8363b0e628b2a1a16a;p=php - MFH --- diff --git a/sapi/apache2filter/config.m4 b/sapi/apache2filter/config.m4 index decdd803cf..d3e95afc87 100644 --- a/sapi/apache2filter/config.m4 +++ b/sapi/apache2filter/config.m4 @@ -90,11 +90,11 @@ AC_ARG_WITH(apxs2filter, dnl the linker does not recursively look at the bundle loader and dnl pull in its dependencies. Therefore, we must pull in the APR dnl and APR-util libraries. - if test -x "$APR_BINDIR/apr-config"; then - MH_BUNDLE_FLAGS="`$APR_BINDIR/apr-config --ldflags --link-ld --libs`" + if test -x "$APR_CONFIG"; then + MH_BUNDLE_FLAGS="`$APR_CONFIG --ldflags --link-ld --libs`" fi - if test -x "$APU_BINDIR/apu-config"; then - MH_BUNDLE_FLAGS="`$APU_BINDIR/apu-config --ldflags --link-ld --libs` $MH_BUNDLE_FLAGS" + if test -x "$APU_CONFIG"; then + MH_BUNDLE_FLAGS="`$APU_CONFIG --ldflags --link-ld --libs` $MH_BUNDLE_FLAGS" fi MH_BUNDLE_FLAGS="-bundle -bundle_loader $APXS_HTTPD $MH_BUNDLE_FLAGS" PHP_SUBST(MH_BUNDLE_FLAGS) diff --git a/sapi/apache2handler/config.m4 b/sapi/apache2handler/config.m4 index b370aa99ab..61be53e445 100644 --- a/sapi/apache2handler/config.m4 +++ b/sapi/apache2handler/config.m4 @@ -89,11 +89,11 @@ AC_ARG_WITH(apxs2, dnl the linker does not recursively look at the bundle loader and dnl pull in its dependencies. Therefore, we must pull in the APR dnl and APR-util libraries. - if test -x "$APR_BINDIR/apr-config"; then - MH_BUNDLE_FLAGS="`$APR_BINDIR/apr-config --ldflags --link-ld --libs`" + if test -x "$APR_CONFIG"; then + MH_BUNDLE_FLAGS="`$APR_CONFIG --ldflags --link-ld --libs`" fi - if test -x "$APU_BINDIR/apu-config"; then - MH_BUNDLE_FLAGS="`$APU_BINDIR/apu-config --ldflags --link-ld --libs` $MH_BUNDLE_FLAGS" + if test -x "$APU_CONFIG"; then + MH_BUNDLE_FLAGS="`$APU_CONFIG --ldflags --link-ld --libs` $MH_BUNDLE_FLAGS" fi MH_BUNDLE_FLAGS="-bundle -bundle_loader $APXS_HTTPD $MH_BUNDLE_FLAGS" PHP_SUBST(MH_BUNDLE_FLAGS)