diff options
author | psyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet> | 2018-06-23 13:30:04 +0000 |
---|---|---|
committer | psyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet> | 1984-04-04 00:44:04 +0000 |
commit | c293f84ea192f361baf720a3979589c0e0881abc (patch) | |
tree | b936a8a074e0b4c4516746cf9ffb2ef77f6ed313 /configure.ac | |
parent | 8d43f2cb9c49e814544fcaa115c4b08bbac297c3 (diff) | |
download | gnunet-c293f84ea192f361baf720a3979589c0e0881abc.tar.gz gnunet-c293f84ea192f361baf720a3979589c0e0881abc.zip |
AUTOSTART renamed into START_ON_DEMAND (#4547a)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index d031b9998..39b78fd3e 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1377,24 +1377,25 @@ AM_CONDITIONAL([ENABLE_MALICIOUS], [test 1=$malicious]) | |||
1377 | AC_DEFINE_UNQUOTED([ENABLE_MALICIOUS], [$malicious], | 1377 | AC_DEFINE_UNQUOTED([ENABLE_MALICIOUS], [$malicious], |
1378 | [enable compilation of malicious code]) | 1378 | [enable compilation of malicious code]) |
1379 | 1379 | ||
1380 | # should services be started by default when a peer starts? Some services may | 1380 | # should services be started on demand when needed? Some services may choose to |
1381 | # choose to never start by default and it is upto the service/module developer to | 1381 | # never start by default and it is up to the service/module developer to decide |
1382 | # decide it by having "AUTOSTART = NO" instead of "AUTOSTART = @AUTOSTART@" in | 1382 | # by having "START_ON_DEMAND = NO" instead of "START_ON_DEMAND = @START_ON_DEMAND@" |
1383 | # the service/module's conf.in file. | 1383 | # in the service/module's conf.in file. |
1384 | AUTOSTART="YES" | 1384 | # See also FORCESTART for an unconditional immediate start. |
1385 | AC_MSG_CHECKING(whether to auto-start peer's services by default) | 1385 | START_ON_DEMAND="YES" |
1386 | AC_MSG_CHECKING(whether to start peer's services on demand by default) | ||
1386 | AC_ARG_ENABLE([autostart], | 1387 | AC_ARG_ENABLE([autostart], |
1387 | [AS_HELP_STRING([--disable-autostart], [do not start peer's services by default])], | 1388 | [AS_HELP_STRING([--disable-autostart], [do not start peer's services by default])], |
1388 | [enable_autostart=${enableval} | 1389 | [enable_autostart=${enableval} |
1389 | if test "x$enable_autostart" == "xno" | 1390 | if test "x$enable_autostart" == "xno" |
1390 | then | 1391 | then |
1391 | AUTOSTART="NO" | 1392 | START_ON_DEMAND="NO" |
1392 | fi | 1393 | fi |
1393 | ], | 1394 | ], |
1394 | [enable_autostart=yes]) | 1395 | [enable_autostart=yes]) |
1395 | AC_MSG_RESULT($enable_autostart) | 1396 | AC_MSG_RESULT($enable_autostart) |
1396 | #AM_CONDITIONAL([HAVE_AUTOSTART], [test "x$enable_autostart" = "xyes"]) | 1397 | #AM_CONDITIONAL([HAVE_START_ON_DEMAND], [test "x$enable_autostart" = "xyes"]) |
1397 | AC_SUBST(AUTOSTART) | 1398 | AC_SUBST(START_ON_DEMAND) |
1398 | 1399 | ||
1399 | # should memory statistics be kept (very expensive CPU-wise!) | 1400 | # should memory statistics be kept (very expensive CPU-wise!) |
1400 | AC_MSG_CHECKING(whether to create expensive statistics on memory use) | 1401 | AC_MSG_CHECKING(whether to create expensive statistics on memory use) |