Changeset 267a27a in mod_gnutls for configure.ac
- Timestamp:
- Oct 30, 2018, 4:22:55 PM (2 years ago)
- Branches:
- asyncio, debian/master, master, proxy-ticket
- Children:
- 3aff94d
- Parents:
- 0062ede
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r0062ede r267a27a 142 142 dnl Enable test namespaces? Default is "yes". 143 143 AC_ARG_ENABLE(test-namespaces, 144 AS_HELP_STRING([--disable-test-namespaces], [Disable use of network \ 145 namespaces to run tests in parallel (some architectures might not \ 146 support it)]), 144 AS_HELP_STRING([--disable-test-namespaces], [Disable use of \ 145 namespaces for tests (limits parallelization)]), 147 146 [use_netns=$enableval], [use_netns=yes]) 148 147 149 # Check if "unshare" is available and has permission to create network150 # and user namespaces148 # Check if "unshare" is available and has permission to create 149 # network, IPC, and user namespaces 151 150 AC_PATH_PROG([UNSHARE], [unshare], [no]) 152 151 AS_IF([test "${UNSHARE}" != "no"], 153 152 [ 154 AC_MSG_CHECKING([for permission to create network and usernamespaces])155 AS_IF([${UNSHARE} --net - r /bin/sh -c \153 AC_MSG_CHECKING([for permission to use namespaces]) 154 AS_IF([${UNSHARE} --net --ipc -r /bin/sh -c \ 156 155 "ip link set up lo && ip addr show" >&AS_MESSAGE_LOG_FD 2>&1], 157 156 [unshare_works="yes"], [unshare_works="no"])
Note: See TracChangeset
for help on using the changeset viewer.