Changeset f5342b1 in mod_gnutls for configure.ac


Ignore:
Timestamp:
Apr 16, 2018, 8:42:39 PM (4 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, upstream
Children:
300ae82, f4ac9ccd
Parents:
e105d3e (diff), 2a912c3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

New upstream version 0.8.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    re105d3e rf5342b1  
    1 dnl
    2 AC_INIT(mod_gnutls, 0.8.2)
     1AC_INIT(mod_gnutls, 0.8.3)
    32OOO_CONFIG_NICE(config.nice)
    43MOD_GNUTLS_VERSION=AC_PACKAGE_VERSION
     
    6564STRICT_CFLAGS=""
    6665if test "$use_strict" != "no"; then
    67         STRICT_CFLAGS="-Wall -Werror -Wextra"
     66        STRICT_CFLAGS="-Wall -Werror -Wextra -Wno-error=deprecated-declarations"
    6867fi
    6968
     
    8483        AS_IF([${FLOCK} --timeout 1 ${lockfile} true >&AS_MESSAGE_LOG_FD 2>&1],
    8584              [flock_works="yes"], [flock_works="no"])
     85        AC_MSG_RESULT([$flock_works])
     86        # Old versions of flock do not support --verbose. They fail
     87        # without executing the command but still return 0. Check for
     88        # this behavior by testing if the rm command was executed.
     89        AC_MSG_CHECKING([whether ${FLOCK} supports --verbose])
     90        testfile="$(mktemp)"
     91        AS_IF([${FLOCK} --verbose --timeout 1 ${lockfile} rm "${testfile}" \
     92                        >&AS_MESSAGE_LOG_FD 2>&1; test ! -e "${testfile}"],
     93              [flock_verbose="yes"; FLOCK="${FLOCK} --verbose"],
     94              [flock_verbose="no"; rm "${testfile}"])
     95        AC_MSG_RESULT([$flock_verbose])
    8696        rm "${lockfile}"
    87         AC_MSG_RESULT([$flock_works])
    8897      ],
    8998      [flock_works="no"])
     
    143152# and test specific PID files if using namespaces, defaults otherwise.
    144153AS_IF([test "$use_netns" = "yes"],
    145       [MUTEX_TYPE="pthread"; PID_AFFIX="-\${TEST_NAME}"],
    146       [MUTEX_TYPE="default"; PID_AFFIX=""])
    147 AC_SUBST(MUTEX_TYPE)
     154      [MUTEX_CONF="Mutex pthread default"; PID_AFFIX="-\${TEST_NAME}"],
     155      [MUTEX_CONF=""; PID_AFFIX=""])
     156AC_SUBST(MUTEX_CONF)
    148157AC_SUBST(PID_AFFIX)
    149 AM_SUBST_NOTMAKE(MUTEX_TYPE)
     158AM_SUBST_NOTMAKE(MUTEX_CONF)
    150159AM_SUBST_NOTMAKE(PID_AFFIX)
    151160
     
    234243AM_SUBST_NOTMAKE(TEST_IP)
    235244
     245: ${TEST_LOCK_WAIT:="30"}
     246: ${TEST_QUERY_TIMEOUT:="30"}
     247AC_ARG_VAR([TEST_LOCK_WAIT], [Timeout in seconds to acquire locks for \
     248                             Apache instances in the test suite, or the \
     249                             previous instance to remove its PID file if \
     250                             flock is not used. Default is 30.])
     251AC_ARG_VAR([TEST_QUERY_TIMEOUT], [Timeout in seconds for HTTPS requests \
     252                                 sent using gnutls-cli in the test suite. \
     253                                 Default is 30.])
     254
    236255dnl Allow user to set SoftHSM PKCS #11 module
    237256AC_ARG_VAR([SOFTHSM_LIB], [Absolute path of the SoftHSM PKCS @%:@11 module to \
     
    247266# Available extra ports, tests can "Define" variables of the listed
    248267# names in their apache.conf to enable them.
    249 for j in TEST_HTTP_PORT OCSP_PORT; do
     268for j in TEST_HTTP_PORT; do
    250269LISTEN_LIST="${LISTEN_LIST}
    251270<IfDefine ${j}>"
     
    272291AC_CONFIG_FILES([Makefile src/Makefile test/Makefile test/tests/Makefile \
    273292                        doc/Makefile doc/doxygen.conf include/mod_gnutls.h \
    274                         test/proxy_backend.conf \
     293                        test/proxy_backend.conf test/ocsp_server.conf \
    275294                        test/apache-conf/listen.conf \
    276295                        test/apache-conf/netns.conf])
     
    283302echo "   * Apache Modules directory:    ${AP_LIBEXECDIR}"
    284303echo "   * GnuTLS Library version:      ${LIBGNUTLS_VERSION}"
     304echo "   * CFLAGS for GnuTLS:           ${LIBGNUTLS_CFLAGS}"
     305echo "   * LDFLAGS for GnuTLS:  ${LIBGNUTLS_LIBS}"
    285306echo "   * SRP Authentication:  ${use_srp}"
    286307echo "   * MSVA Client Verification:    ${use_msva}"
Note: See TracChangeset for help on using the changeset viewer.