From 9fa0a6b954e3893f81aff1851c8e363eb0ccb98b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 14 Jul 2017 11:43:05 +0200 Subject: nxcomp/configure.ac: Re-add previously available configure options --with-valgrind and --with-info as renamed options --enable-valgrind and --enable-debug. --- nxcomp/configure.ac | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'nxcomp/configure.ac') diff --git a/nxcomp/configure.ac b/nxcomp/configure.ac index 87087f32d..9d44a6991 100644 --- a/nxcomp/configure.ac +++ b/nxcomp/configure.ac @@ -74,6 +74,20 @@ else CPPFLAGS="$CPPFLAGS -DIN_ADDR_T=in_addr_t" fi +AC_ARG_ENABLE(info, + [AS_HELP_STRING([--enable-debug], [enable to get info session log output (disabled by default)])], + [if test x$enableval = xyes; then + AC_DEFINE(INFO, 1, [Define this to get info session log output.]) + info_messages=yes + fi]) + +AC_ARG_ENABLE(valgrind, + [AS_HELP_STRING([--enable-valgrind], [enable for extra valgrind hacks (disabled by default)])], + [if test x$enableval = xyes; then + AC_DEFINE(VALGRIND, 1, [Define this for extra valgrind hacks.]) + valgrind_hacks=yes + fi]) + AC_CONFIG_FILES([ Makefile src/Makefile -- cgit v1.2.3