Changeset 22a737b in mod_gnutls for configure.ac


Ignore:
Timestamp:
Jun 25, 2020, 4:01:21 AM (7 weeks ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master
Children:
2b3a2814
Parents:
ed493e6
Message:

Detect usable loopback IPs during ./configure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    red493e6 r22a737b  
    251251AM_SUBST_NOTMAKE(PID_AFFIX)
    252252
     253AC_MSG_CHECKING([which loopback addresses are usable])
     254loopback_ips="$("${PYTHON}" test/check_test_ips.py -q ::1 127.0.0.1)"
     255AC_MSG_RESULT(${loopback_ips})
     256
    253257# assign default values to TEST_HOST and TEST_IP if necessary
    254258: ${TEST_HOST:="localhost"}
    255 : ${TEST_IP:="[[::1]] 127.0.0.1"}
     259: ${TEST_IP:="${loopback_ips}"}
    256260AC_ARG_VAR([TEST_HOST], [Host name to use for server instances started by \
    257261                        "make check", must resolve to addresses in TEST_IP. \
Note: See TracChangeset for help on using the changeset viewer.