configure.in (snort-2.9.16.1) | : | configure.in (snort-2.9.17) | ||
---|---|---|---|---|
# $Id$ | # $Id$ | |||
AC_INIT([snort], [m4_esyscmd_s([cat ./VERSION])]) | AC_INIT([snort], [m4_esyscmd_s([cat ./VERSION])]) | |||
AC_CONFIG_SRCDIR([src/snort.c]) | AC_CONFIG_SRCDIR([src/snort.c]) | |||
AC_PREREQ(2.50) | AC_PREREQ(2.50) | |||
AM_CONFIG_HEADER(config.h) | AM_CONFIG_HEADER(config.h) | |||
# When changing the snort version, please also update the VERSION | # When changing the snort version, please also update the VERSION | |||
# definition in "src/win32/WIN32-Includes/config.h" | # definition in "src/win32/WIN32-Includes/config.h" | |||
AM_INIT_AUTOMAKE(snort,2.9.16.1) | AM_INIT_AUTOMAKE(snort,2.9.17) | |||
NO_OPTIMIZE="no" | NO_OPTIMIZE="no" | |||
AC_PROG_CC_STDC | AC_PROG_CC_STDC | |||
AC_PROG_CC | AC_PROG_CC | |||
AC_PROG_LIBTOOL | AC_PROG_LIBTOOL | |||
AC_PROG_RANLIB | AC_PROG_RANLIB | |||
AC_C_BIGENDIAN | AC_C_BIGENDIAN | |||
# AC_C_BIGENDIAN implicitly defines WORDS_BIGENDIAN, but the CCONFIGFLAGS also n eeds to be affected. | # AC_C_BIGENDIAN implicitly defines WORDS_BIGENDIAN, but the CCONFIGFLAGS also n eeds to be affected. | |||
if test "x$ac_cv_c_bigendian" = "xyes"; then | if test "x$ac_cv_c_bigendian" = "xyes"; then | |||
skipping to change at line 1469 | skipping to change at line 1469 | |||
if test "x$openssl_x509" = "xno"; then | if test "x$openssl_x509" = "xno"; then | |||
echo | echo | |||
echo " ERROR! openssl/x509.h or openssl library not found." | echo " ERROR! openssl/x509.h or openssl library not found." | |||
echo " Try compiling without openAppId using '--disable-open-appid'" | echo " Try compiling without openAppId using '--disable-open-appid'" | |||
AC_MSG_ERROR("Fatal!") | AC_MSG_ERROR("Fatal!") | |||
fi | fi | |||
fi | fi | |||
###### End OpenAppId | ###### End OpenAppId | |||
#include luajit libs | ||||
AC_ARG_WITH(libluajit_includes, | ||||
[ --with-libluajit-includes=DIR libluajit include directory], | ||||
[with_libluajit_includes="$withval"],[with_libluajit_includes="no"]) | ||||
AC_ARG_WITH(libluajit_libraries, | ||||
[ --with-libluajit-libraries=DIR libluajit library directory], | ||||
[with_libluajit_libraries="$withval"],[with_libluajit_libraries="no"]) | ||||
if test "x$with_libluajit_libraries" != "xno"; then | ||||
LDFLAGS="${LDFLAGS} -L${with_libluajit_libraries}" | ||||
fi | ||||
#include nghttp2 libs | #include nghttp2 libs | |||
AC_ARG_WITH(libnghttp2_includes, | AC_ARG_WITH(libnghttp2_includes, | |||
[ --with-libnghttp2-includes=DIR libnghttp2 include directory], | [ --with-libnghttp2-includes=DIR libnghttp2 include directory], | |||
[with_libnghttp2_includes="$withval"],[with_libnghttp2_includes="no"]) | [with_libnghttp2_includes="$withval"],[with_libnghttp2_includes="no"]) | |||
AC_ARG_WITH(libnghttp2_libraries, | AC_ARG_WITH(libnghttp2_libraries, | |||
[ --with-libnghttp2-libraries=DIR libnghttp2 library directory], | [ --with-libnghttp2-libraries=DIR libnghttp2 library directory], | |||
[with_libnghttp2_libraries="$withval"],[with_libnghttp2_libraries="no"]) | [with_libnghttp2_libraries="$withval"],[with_libnghttp2_libraries="no"]) | |||
skipping to change at line 1597 | skipping to change at line 1611 | |||
fi | fi | |||
AC_MSG_CHECKING(for SFLINUX) | AC_MSG_CHECKING(for SFLINUX) | |||
if test -f /etc/os.conf; then | if test -f /etc/os.conf; then | |||
CFLAGS="${CFLAGS} -DSFLINUX" | CFLAGS="${CFLAGS} -DSFLINUX" | |||
AC_MSG_RESULT(yes) | AC_MSG_RESULT(yes) | |||
else | else | |||
AC_MSG_RESULT(no) | AC_MSG_RESULT(no) | |||
fi | fi | |||
AC_MSG_CHECKING(for WRLINUX) | ||||
if test -f /etc/os-release && grep -q "wrlinux" /etc/os-release; then | ||||
CFLAGS="${CFLAGS} -DWRLINUX" | ||||
AC_MSG_RESULT(yes) | ||||
else | ||||
AC_MSG_RESULT(no) | ||||
fi | ||||
echo $CFLAGS > cflags.out | echo $CFLAGS > cflags.out | |||
echo $CPPFLAGS > cppflags.out | echo $CPPFLAGS > cppflags.out | |||
INCLUDES='-I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/sfutil $(extra _incl) -I$(top_srcdir)/src/output-plugins -I$(top_srcdir)/src/detection-plugins -I$(top_srcdir)/src/dynamic-plugins -I$(top_srcdir)/src/preprocessors -I$(top_sr cdir)/src/preprocessors/portscan -I$(top_srcdir)/src/preprocessors/HttpInspect/i nclude -I$(top_srcdir)/src/preprocessors/Session -I$(top_srcdir)/src/preprocesso rs/Stream6 -I$(top_srcdir)/src/target-based -I$(top_srcdir)/src/control -I$(top_ srcdir)/src/file-process -I$(top_srcdir)/src/file-process/libs -I$(top_srcdir)/s rc/side-channel -I$(top_srcdir)/src/side-channel/plugins -I$(top_srcdir)/src/rel oad-adjust' | INCLUDES='-I$(top_srcdir) -I$(top_srcdir)/src -I$(top_srcdir)/src/sfutil $(extra _incl) -I$(top_srcdir)/src/output-plugins -I$(top_srcdir)/src/detection-plugins -I$(top_srcdir)/src/dynamic-plugins -I$(top_srcdir)/src/preprocessors -I$(top_sr cdir)/src/preprocessors/portscan -I$(top_srcdir)/src/preprocessors/HttpInspect/i nclude -I$(top_srcdir)/src/preprocessors/Session -I$(top_srcdir)/src/preprocesso rs/Stream6 -I$(top_srcdir)/src/target-based -I$(top_srcdir)/src/control -I$(top_ srcdir)/src/file-process -I$(top_srcdir)/src/file-process/libs -I$(top_srcdir)/s rc/side-channel -I$(top_srcdir)/src/side-channel/plugins -I$(top_srcdir)/src/rel oad-adjust' | |||
AC_SUBST(INCLUDES) | AC_SUBST(INCLUDES) | |||
AC_SUBST(CONFIGFLAGS) | AC_SUBST(CONFIGFLAGS) | |||
AC_SUBST(CCONFIGFLAGS) | AC_SUBST(CCONFIGFLAGS) | |||
AC_SUBST(ICONFIGFLAGS) | AC_SUBST(ICONFIGFLAGS) | |||
skipping to change at line 1645 | skipping to change at line 1667 | |||
src/dynamic-preprocessors/reputation/Makefile \ | src/dynamic-preprocessors/reputation/Makefile \ | |||
src/dynamic-preprocessors/gtp/Makefile \ | src/dynamic-preprocessors/gtp/Makefile \ | |||
src/dynamic-preprocessors/dcerpc2/Makefile \ | src/dynamic-preprocessors/dcerpc2/Makefile \ | |||
src/dynamic-preprocessors/pop/Makefile \ | src/dynamic-preprocessors/pop/Makefile \ | |||
src/dynamic-preprocessors/imap/Makefile \ | src/dynamic-preprocessors/imap/Makefile \ | |||
src/dynamic-preprocessors/sdf/Makefile \ | src/dynamic-preprocessors/sdf/Makefile \ | |||
src/dynamic-preprocessors/dns/Makefile \ | src/dynamic-preprocessors/dns/Makefile \ | |||
src/dynamic-preprocessors/ssl/Makefile \ | src/dynamic-preprocessors/ssl/Makefile \ | |||
src/dynamic-preprocessors/modbus/Makefile \ | src/dynamic-preprocessors/modbus/Makefile \ | |||
src/dynamic-preprocessors/dnp3/Makefile \ | src/dynamic-preprocessors/dnp3/Makefile \ | |||
src/dynamic-preprocessors/s7commplus/Makefile \ | ||||
src/dynamic-preprocessors/file/Makefile \ | src/dynamic-preprocessors/file/Makefile \ | |||
src/dynamic-preprocessors/appid/Makefile \ | src/dynamic-preprocessors/appid/Makefile \ | |||
src/dynamic-output/Makefile \ | src/dynamic-output/Makefile \ | |||
src/dynamic-output/plugins/Makefile \ | src/dynamic-output/plugins/Makefile \ | |||
src/dynamic-output/libs/Makefile \ | src/dynamic-output/libs/Makefile \ | |||
src/dynamic-output/libs/snort_output.pc \ | src/dynamic-output/libs/snort_output.pc \ | |||
src/output-plugins/Makefile \ | src/output-plugins/Makefile \ | |||
src/preprocessors/Makefile \ | src/preprocessors/Makefile \ | |||
src/preprocessors/HttpInspect/Makefile \ | src/preprocessors/HttpInspect/Makefile \ | |||
src/preprocessors/HttpInspect/include/Makefile \ | src/preprocessors/HttpInspect/include/Makefile \ | |||
End of changes. 4 change blocks. | ||||
1 lines changed or deleted | 24 lines changed or added |