mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Cleanup configure script and add back unit tests (make test).
This commit is contained in:
@@ -62,20 +62,30 @@ VERSION_OK
|
||||
[AC_MSG_NOTICE(httpd is recent enough)],
|
||||
[AC_MSG_ERROR(apache is too old, mmn must be at least $HTTPD_WANTED_MMN)])
|
||||
fi
|
||||
APXS_INCLUDES="`$APXS -q EXTRA_INCLUDES`"
|
||||
APXS_CFLAGS="`$APXS -q CFLAGS`"
|
||||
APXS_LDFLAGS="`$APXS -q LDFLAGS`"
|
||||
APXS_LIBS="`$APXS -q LIBS`"
|
||||
AC_MSG_NOTICE([APXS_INCLUDES=${APXS_INCLUDES}])
|
||||
else
|
||||
AC_MSG_ERROR(couldn't find APXS)
|
||||
fi
|
||||
|
||||
CHECK_PCRE()
|
||||
CHECK_LUA()
|
||||
CHECK_LIBXML()
|
||||
|
||||
save_CPPFLAGS=$CPPFLAGS
|
||||
APXS_INCLUDES="`$APXS -q EXTRA_INCLUDES`"
|
||||
CPPFLAGS="$APXS_INCLUDES $CPPFLAGS"
|
||||
CPPFLAGS=$save_CPPFLAGS
|
||||
|
||||
AC_SUBST(APXS)
|
||||
AC_SUBST(APXS_INCLUDES)
|
||||
AC_SUBST(APXS_CFLAGS)
|
||||
AC_SUBST(APXS_LDFLAGS)
|
||||
AC_SUBST(APXS_LIBS)
|
||||
|
||||
CHECK_PCRE()
|
||||
CHECK_LUA()
|
||||
CHECK_LIBXML()
|
||||
CHECK_APR()
|
||||
CHECK_APU()
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
|
||||
|
Reference in New Issue
Block a user