forked from lix-project/lix
* A better fix. $boehmgc isn't set anywhere, we should use the flags
returned by pkg-config.
This commit is contained in:
parent
dfc4117e90
commit
1876ab764f
|
@ -268,7 +268,7 @@ AC_ARG_ENABLE(gc, AC_HELP_STRING([--enable-gc],
|
||||||
gc=$enableval, gc=)
|
gc=$enableval, gc=)
|
||||||
if test -n "$gc"; then
|
if test -n "$gc"; then
|
||||||
PKG_CHECK_MODULES([BDW_GC], [bdw-gc])
|
PKG_CHECK_MODULES([BDW_GC], [bdw-gc])
|
||||||
boehmgc_lib="-L$boehmgc/lib -lgc"
|
boehmgc_lib="$BDW_GC_LIBS"
|
||||||
CXXFLAGS="$BDW_GC_CFLAGS $CXXFLAGS"
|
CXXFLAGS="$BDW_GC_CFLAGS $CXXFLAGS"
|
||||||
AC_DEFINE(HAVE_BOEHMGC, 1, [Whether to use the Boehm garbage collector.])
|
AC_DEFINE(HAVE_BOEHMGC, 1, [Whether to use the Boehm garbage collector.])
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -75,7 +75,7 @@ let
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--disable-init-state
|
--disable-init-state
|
||||||
--with-bzip2=${bzip2} --with-sqlite=${sqlite}
|
--with-bzip2=${bzip2} --with-sqlite=${sqlite}
|
||||||
${lib.optionalString (system != "i386-sunos") "--enable-gc"}
|
--enable-gc
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue