Changeset cb1d852 in mod_gnutls


Ignore:
Timestamp:
Jun 1, 2020, 7:24:52 AM (5 weeks ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master
Children:
2b1b52f
Parents:
f97f44c
Message:

Add --enable-gnutls-debug-log to ./configure

This replaces the OOO_MAINTAIN_MODE macro, which previously enabled
the debug log and nothing else. The new code and documentation should
be much clearer.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    rf97f44c rcb1d852  
    66AC_CONFIG_AUX_DIR(config)
    77
    8 OOO_MAINTAIN_MODE
    98AM_MAINTAINER_MODE([enable])
    109AC_CANONICAL_TARGET
     
    8483AC_MSG_CHECKING([whether to enable SRP functionality])
    8584AC_MSG_RESULT($use_srp)
     85
     86MOD_GNUTLS_DEBUG=0
     87AC_ARG_ENABLE(gnutls-debug-log,
     88       AS_HELP_STRING([--enable-gnutls-debug-log],
     89               [Write GnuTLS debug output to /tmp/gnutls_debug, for \
     90               debugging only!]),
     91       enable_gnutls_debug=$enableval, enable_gnutls_debug=no)
     92if test "$enable_gnutls_debug" != "no"; then
     93        MOD_GNUTLS_DEBUG=1
     94fi
     95AC_SUBST(MOD_GNUTLS_DEBUG)
    8696
    8797AM_PATH_PYTHON([3])
  • include/mod_gnutls.h.in

    rf97f44c rcb1d852  
    4949
    5050/* Module Debug Mode */
    51 #define MOD_GNUTLS_DEBUG @OOO_MAINTAIN@
     51#define MOD_GNUTLS_DEBUG @MOD_GNUTLS_DEBUG@
    5252
    5353/** Name of the module-wide singleton watchdog */
  • m4/outoforder.m4

    rf97f44c rcb1d852  
    2323  chmod +x $1
    2424])
    25 
    26 dnl this macro adds a maintainer mode option to enable programmer specific
    27 dnl  code in makefiles
    28 AC_DEFUN([OOO_MAINTAIN_MODE],[
    29   AC_ARG_ENABLE(
    30         maintainer,
    31         [AC_HELP_STRING([--enable-maintainer],[Enable maintainer mode for this project])],
    32         AC_MSG_RESULT([Enabling Maintainer Mode!!])
    33         OOO_MAINTAIN=1,
    34         OOO_MAINTAIN=0)
    35   AC_SUBST(OOO_MAINTAIN)
    36 ])
Note: See TracChangeset for help on using the changeset viewer.