diff --git a/apache2/Makefile.in b/apache2/Makefile.in index a5925ab1..3bd5bc3f 100644 --- a/apache2/Makefile.in +++ b/apache2/Makefile.in @@ -111,7 +111,7 @@ mlogc-static: ### Experimental Test Framework (*NIX only right now) msc_test.lo: msc_test.c - $(LIBTOOL) --mode=compile $(CC) $(EXTRA_CFLAGS) $(MODSEC_EXTRA_CFLAGS) $(CPPFLAGS) -c msc_test.c + $(LIBTOOL) --mode=compile $(CC) $(APXS_CFLAGS) $(EXTRA_CFLAGS) $(MODSEC_EXTRA_CFLAGS) $(CPPFLAGS) -c msc_test.c msc_test: $(TESTOBJS) msc_test.lo @objs=""; \ diff --git a/apache2/build/find_apr.m4 b/apache2/build/find_apr.m4 index 3d9361b9..c0000c13 100644 --- a/apache2/build/find_apr.m4 +++ b/apache2/build/find_apr.m4 @@ -48,7 +48,7 @@ done if test -n "${with_apr}"; then APR_CONFIG="${with_apr}/${APR_CONFIG}" AC_MSG_RESULT([${APR_CONFIG}]) - APR_CFLAGS="`${APR_CONFIG} --includes --cppflags`" + APR_CFLAGS="`${APR_CONFIG} --includes --cppflags --cflags`" APR_LDFLAGS="`${APR_CONFIG} --ldflags`" APR_LIBS="`${APR_CONFIG} --libs`" APR_LINK_LD="`${APR_CONFIG} --link-ld`"