mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
* Do initialise state (the DB etc.) when doing a `make install',
unless `--disable-init-state' is passed to configure.
This commit is contained in:
parent
8e459d919d
commit
f79e9c2d22
4 changed files with 18 additions and 8 deletions
|
@ -114,6 +114,11 @@ AC_SUBST(aterm_include)
|
|||
|
||||
AC_CHECK_LIB(pthread, pthread_mutex_init)
|
||||
|
||||
AC_ARG_ENABLE(init-state, AC_HELP_STRING([--disable-init-state],
|
||||
[do not initialise DB etc. in `make install']),
|
||||
init_state=$enableval, init_state=yes)
|
||||
AM_CONDITIONAL(INIT_STATE, test "$init_state" = "yes")
|
||||
|
||||
AM_CONFIG_HEADER([config.h])
|
||||
AC_CONFIG_FILES([Makefile
|
||||
externals/Makefile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue