Make sure to include the apxs cflags and apr cflags when building msc_test.

This commit is contained in:
brectanus 2008-02-08 22:03:48 +00:00
parent 96b3ea6f21
commit 06715a0dea
2 changed files with 2 additions and 2 deletions

View File

@ -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=""; \

View File

@ -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`"