about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-06-17T21·12+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-06-17T21·12+0000
commit34fcf5fa0c0cc02edc6820b99d98e7ae278c6c00 (patch)
treecf468ffe5a0b4234c7d1fb91125ea0f53e8c9f02 /configure.ac
parent7a96da3627220d11a985662446e8a75fb8cc2d40 (diff)
* Started integrating the new evaluation model into Nix.
* Cleaned up command-line syntax.

Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a25ea785c287..ff9b5beb72f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,5 +10,11 @@ AC_CANONICAL_HOST
 AC_PROG_CC
 AC_PROG_CXX
 
+# Unix shell scripting should die a slow and painful death.
+AC_DEFINE_UNQUOTED(NIX_VALUES_DIR, "$(eval echo $prefix/values)", Nix values directory.)
+AC_DEFINE_UNQUOTED(NIX_STATE_DIR, "$(eval echo $localstatedir/nix)", Nix state directory.)
+AC_DEFINE_UNQUOTED(NIX_LOG_DIR, "$(eval echo $localstatedir/log/nix)", Nix log file directory.)
+
+AC_CONFIG_HEADER([config.h])
 AC_CONFIG_FILES([Makefile src/Makefile scripts/Makefile])
 AC_OUTPUT