blob: 27b6258191001bc6728a9241a675049d8b0d8235 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -691,6 +691,8 @@
AC_CHECK_ENABLE_PIC_ASM
+PKG_CHECK_MODULES([BOEHM], bdw-gc,,AC_MSG_ERROR[boehm-gc not found])
+
dnl Define version numbers.
AC_VERSION_DETAIL
AC_VERSION_CONFIG
@@ -793,12 +795,6 @@
)
-dnl We only build the shared library objects but we use it as
-dnl noinst_LTLIBRARIES.
-ac_configure_args="$ac_configure_args --disable-static"
-AC_CONFIG_SUBDIRS(src/mm/boehm-gc)
-
-
AC_OUTPUT
diff --git a/src/mm/Makefile.am b/src/mm/Makefile.am
--- a/src/mm/Makefile.am
+++ b/src/mm/Makefile.am
@@ -35,14 +35,13 @@
endif
if ENABLE_GC_BOEHM
-SUBDIRS = \
- boehm-gc
-
GC_FILE = \
gc-boehm.cpp
-GC_LIB = \
- $(top_builddir)/src/mm/boehm-gc/libgc.la
+AM_CPPFLAGS += $(BOEHM_CFLAGS)
+
+GC_LIB = $(BOEHM_LIBS)
+
endif
if ENABLE_GC_CACAO
|