Changeset 1a6eeae in mod_gnutls for configure.ac
- Timestamp:
- Feb 1, 2020, 12:33:12 PM (3 years ago)
- Branches:
- asyncio, master, proxy-ticket
- Children:
- bfef00c
- Parents:
- 2794787
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r2794787 r1a6eeae 159 159 [use_netns="yes"], [use_netns="no"]) 160 160 AM_CONDITIONAL([ENABLE_NETNS], [test "$use_netns" != "no"]) 161 # Adjust Apache configuration for tests accordingly: Use pthread mutex162 # and test specific PID files if using namespaces, defaults otherwise.163 AS_IF([test "$use_netns" = "yes"],164 [MUTEX_CONF="Mutex pthread default"; PID_AFFIX="-\${TEST_NAME}"],165 [MUTEX_CONF=""; PID_AFFIX=""])166 AC_SUBST(MUTEX_CONF)167 AC_SUBST(PID_AFFIX)168 AM_SUBST_NOTMAKE(MUTEX_CONF)169 AM_SUBST_NOTMAKE(PID_AFFIX)170 161 171 162 AC_ARG_ENABLE(msva, … … 228 219 AC_SUBST(MODULE_LIBS) 229 220 221 # Adjust Apache configuration for tests: Use pthread mutex and test 222 # specific PID files if using namespaces. Otherwise defaults are used, 223 # and the user can override the default mutex type. 224 AC_ARG_VAR([APACHE_MUTEX], [Override the default mutex for the test \ 225 environment. The value is used only when running \ 226 without namespace isolation, tests running in \ 227 their own namespaces always use "pthread".]) 228 AS_IF([test -n "${APACHE_MUTEX}"], 229 [MUTEX_CONF="Mutex ${APACHE_MUTEX} default"], 230 [MUTEX_CONF=""]) 231 AS_IF([test "$use_netns" = "yes"], 232 [MUTEX_CONF="Mutex pthread default"; PID_AFFIX="-\${TEST_NAME}"], 233 [PID_AFFIX=""]) 234 AC_SUBST(MUTEX_CONF) 235 AC_SUBST(PID_AFFIX) 236 AM_SUBST_NOTMAKE(MUTEX_CONF) 237 AM_SUBST_NOTMAKE(PID_AFFIX) 238 230 239 # assign default values to TEST_HOST and TEST_IP if necessary 231 240 : ${TEST_HOST:="localhost"}
Note: See TracChangeset
for help on using the changeset viewer.