From 58ecc7b4e33738295fc59baa4e1b4f2ca23cab5a Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Wed, 17 Sep 2014 00:32:03 -0700 Subject: disable long debug output and implement --enable-ASN_DEBUG to restore old behavior --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f0031d8e..3d242c8f 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,13 @@ if test x$enable_werror = xyes; then ADD_CFLAGS="-Werror -W -Wpointer-arith" fi +AC_ARG_ENABLE([ASN_DEBUG], + [ --enable-ASN_DEBUG produce debug log during `make check` testing], + enable_asn_debug=$enableval, enable_asn_debug=no) +if test x$enable_asn_debug = xyes; then + TESTSUITE_CFLAGS="-DEMIT_ASN_DEBUG" +fi + AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"]) AX_CHECK_COMPILE_FLAG([-Wcast-qual], [CFLAGS="$CFLAGS -Wcast-qual"]) AX_CHECK_COMPILE_FLAG([-Wchar-subscripts], -- cgit v1.2.3