Changeset 26081ce in mod_gnutls for configure.ac


Ignore:
Timestamp:
Jul 8, 2015, 3:29:58 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
4038c7a
Parents:
90a31a4
git-author:
Thomas Klute <thomas2.klute@…> (07/08/15 15:03:54)
git-committer:
Thomas Klute <thomas2.klute@…> (07/08/15 15:29:58)
Message:

Test suite: Make TEST_HOST and TEST_IP configurable through ./configure

The default settings in the test suite assume that "localhost" resolves
to the IPv6 loopback address. Depending on the local system
configuration this may be incorrect, so allow the user to pass their own
TEST_HOST and TEST_IP to ./configure, e.g. to use IPv4:

TEST_HOST="localhost" TEST_IP="127.0.0.1" ./configure

Note that changing TEST_HOST requires rebuilding the certificates, just
run "make mostlyclean" before the next test run.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r90a31a4 r26081ce  
    109109AC_SUBST(MODULE_LIBS)
    110110
     111# assign default values to TEST_HOST and TEST_IP if necessary
     112: ${TEST_HOST:="localhost"}
     113: ${TEST_IP:="[::1]"}
     114AC_ARG_VAR([TEST_HOST], [Host name to use for server instances started by \
     115                        "make check", must resolve to TEST_IP. The default \
     116                        is "localhost".])
     117AC_ARG_VAR([TEST_IP], [IP address to use for server instances started by \
     118                      "make check". The default is the IPv6 loopback address \
     119                      [::1].])
     120
    111121AC_CONFIG_FILES([Makefile src/Makefile test/Makefile test/tests/Makefile \
    112122                          doc/Makefile include/mod_gnutls.h])
Note: See TracChangeset for help on using the changeset viewer.