diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-12-06 13:03:03 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-12-06 13:03:03 +0000 |
commit | f553a4098ae625812a9d082aedfc393c212c7d13 (patch) | |
tree | 8ec1f4d965bea8d7583164d57d4b792b7abc7558 /configure.ac | |
parent | 478fe22c01a4873e528422abfb4a7f390158e40e (diff) | |
download | gnunet-f553a4098ae625812a9d082aedfc393c212c7d13.tar.gz gnunet-f553a4098ae625812a9d082aedfc393c212c7d13.zip |
configure option --disable-autostart to disable auto-startup of services by ARM
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 50169797e..4ae54482d 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1158,6 +1158,25 @@ AC_ARG_ENABLE([experimental], | |||
1158 | AC_MSG_RESULT($enable_experimental) | 1158 | AC_MSG_RESULT($enable_experimental) |
1159 | AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "xyes"]) | 1159 | AM_CONDITIONAL([HAVE_EXPERIMENTAL], [test "x$enable_experimental" = "xyes"]) |
1160 | 1160 | ||
1161 | # should services be started by default when a peer starts? Some services may | ||
1162 | # choose to never start by default and it is upto the service/module developer to | ||
1163 | # decide it by having "AUTOSTART = NO" instead of "AUTOSTART = @AUTOSTART" in | ||
1164 | # the service/module's conf.in file. | ||
1165 | AUTOSTART="YES" | ||
1166 | AC_MSG_CHECKING(whether to auto-start peer's services by default) | ||
1167 | AC_ARG_ENABLE([autostart], | ||
1168 | [AS_HELP_STRING([--disable-autostart], [do not start peer's services by default])], | ||
1169 | [enable_autostart=${enableval} | ||
1170 | if test "x$enable_autostart" == "xno" | ||
1171 | then | ||
1172 | AUTOSTART="NO" | ||
1173 | fi | ||
1174 | ], | ||
1175 | [enable_autostart=yes]) | ||
1176 | AC_MSG_RESULT($enable_autostart) | ||
1177 | #AM_CONDITIONAL([HAVE_AUTOSTART], [test "x$enable_autostart" = "xyes"]) | ||
1178 | AC_SUBST(AUTOSTART) | ||
1179 | |||
1161 | # should memory statistics be kept (very expensive CPU-wise!) | 1180 | # should memory statistics be kept (very expensive CPU-wise!) |
1162 | AC_MSG_CHECKING(whether to create expensive statistics on memory use) | 1181 | AC_MSG_CHECKING(whether to create expensive statistics on memory use) |
1163 | AC_ARG_ENABLE([heapstats], | 1182 | AC_ARG_ENABLE([heapstats], |