diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-01-04T12·45+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2012-01-04T12·45+0000 |
commit | 9d43a0238235cfbe914e2051db89095699a2df95 (patch) | |
tree | 8759279c2872d91f2ef0ef4888b92bc519cc061a | |
parent | a0477a458fa9fd7fbe090ff8cebcfd162c090b43 (diff) |
* Let --disable-gc work.
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 52c92b76bf10..1e8665992c6b 100644 --- a/configure.ac +++ b/configure.ac @@ -274,8 +274,8 @@ AC_SUBST(sqlite_bin) # 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.]) |