Author: eelco
Date: Wed Jan  4 12:45:40 2012
New Revision: 31273
URL: https://nixos.org/websvn/nix/?rev=31273&sc=1

Log:
* Let --disable-gc work.

Modified:
   nix/branches/multiple-outputs-sandbox/configure.ac

Modified: nix/branches/multiple-outputs-sandbox/configure.ac
==============================================================================
--- nix/branches/multiple-outputs-sandbox/configure.ac  Wed Jan  4 12:00:39 
2012        (r31272)
+++ nix/branches/multiple-outputs-sandbox/configure.ac  Wed Jan  4 12:45:40 
2012        (r31273)
@@ -274,8 +274,8 @@
 # Whether to use the Boehm garbage collector.
 AC_ARG_ENABLE(gc, AC_HELP_STRING([--enable-gc],
   [enable garbage collection in the Nix expression evaluator (requires Boehm 
GC)]),
-  gc=$enableval, gc=)
-if test -n "$gc"; then
+  gc=$enableval, gc=no)
+if test "$gc" = yes; then
   PKG_CHECK_MODULES([BDW_GC], [bdw-gc])
   CXXFLAGS="$BDW_GC_CFLAGS $CXXFLAGS"
   AC_DEFINE(HAVE_BOEHMGC, 1, [Whether to use the Boehm garbage collector.])
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to