Display configuration summary at the end of ./configure.

remotes/origin/master-1.0.x
Jason Ish 15 years ago committed by Victor Julien
parent 62dd11c0a2
commit a098e39bed

@ -322,8 +322,8 @@ AC_INIT(configure.in)
#enable support for NFQUEUE
AC_ARG_ENABLE(nfqueue,
[ --enable-nfqueue Enable NFQUEUE support for inline IDP],
[ enable_nfqueue=yes
])
[ enable_nfqueue=yes ],
[ enable_nfqueue=no ])
if test "$enable_nfqueue" = "yes"; then
CFLAGS="$CFLAGS -DNFQ"
@ -421,8 +421,8 @@ esac
#enable support for IPFW
AC_ARG_ENABLE(ipfw,
[ --enable-ipfw Enable FreeBSD IPFW support for inline IDP],
[ enable_ipfw=yes
])
[ enable_ipfw=yes ],
[ enable_ipfw=no ])
if test "$enable_ipfw" = "yes"; then
CFLAGS="$CFLAGS -DIPFW"
fi
@ -431,8 +431,8 @@ esac
AC_ARG_ENABLE(prelude,
[ --enable-prelude Enable Prelude support for alerts],
[ enable_prelude=yes
])
[ enable_prelude=yes ],
[ enable_prelude=no ])
if test "$enable_prelude" = "yes"; then
CFLAGS="$CFLAGS -DPRELUDE"
AM_PATH_LIBPRELUDE(0.9.9, , AC_MSG_ERROR(Cannot find libprelude: Is libprelude-config in the path?), no)
@ -626,8 +626,8 @@ AC_CHECK_HEADER(pcap.h,,[AC_ERROR(pcap.h not found ...)])
# enable the running of unit tests
AC_ARG_ENABLE(unittests,
[ --enable-unittests Enable compilation of the unit tests],
[ enable_unittests=yes
])
[ enable_unittests=yes ],
[ enable_unittests=no ])
if test "$enable_unittests" = "yes"; then
CFLAGS="${CFLAGS} -DUNITTESTS"
fi
@ -644,8 +644,8 @@ AC_CHECK_HEADER(pcap.h,,[AC_ERROR(pcap.h not found ...)])
# enable debug output
AC_ARG_ENABLE(debug,
[ --enable-debug Enable debug output],
[ enable_debug=yes
])
[ enable_debug=yes ],
[ enable_debug=no ])
if test "$enable_debug" = "yes"; then
CFLAGS="${CFLAGS} -DDEBUG"
fi
@ -697,8 +697,8 @@ AC_CHECK_HEADER(pcap.h,,[AC_ERROR(pcap.h not found ...)])
# enable CUDA output
AC_ARG_ENABLE(cuda,
[ --enable-cuda Enable CUDA pattern matching],
[ enable_cuda=yes
])
[ enable_cuda=yes ],
[ enable_cuda=no ])
AC_ARG_WITH(cuda_includes,
[ --with-cuda-includes=DIR cuda include directory],
[with_cuda_includes="$withval"],[with_cuda_includes=no])
@ -770,8 +770,8 @@ AC_CHECK_HEADER(pcap.h,,[AC_ERROR(pcap.h not found ...)])
AC_ARG_ENABLE(profiling,
[ --enable-profiling Enable performance profiling],
[ enable_profiling=yes
])
[ enable_profiling=yes ],
[ enable_profiling=no ])
if test "$enable_profiling" = "yes"; then
CFLAGS="${CFLAGS} -DPROFILING"
fi
@ -781,3 +781,15 @@ AC_SUBST(LDFLAGS)
AC_SUBST(CPPFLAGS)
AC_OUTPUT(Makefile src/Makefile)
echo "
Suricata Configuration:
NFQueue support: ${enable_nfqueue}
IPFW support: ${enable_ipfw}
Prelude support: ${enable_prelude}
Unit tests enabled: ${enable_unittests}
Debug output enabled: ${enable_debug}
CUDA enabled: ${enable_cuda}
Profiling enabled: ${enable_profiling}
"
Loading…
Cancel
Save