From: Ivan Maidanski Date: Wed, 28 Dec 2011 10:55:57 +0000 (+0400) Subject: Fix configure --enable-cplusplus make install X-Git-Tag: gc7_2~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11cac001325e00750294bd177e0511fca43150fe;p=gc Fix configure --enable-cplusplus make install (Apply commit b71d819) * Makefile.am (pkginclude_HEADERS): Remove gc_allocator.h entry. * Makefile.am (include_HEADERS): Add include/extra/gc_cpp.h entry (only if CPLUSPLUS). * include/include.am (pkginclude_HEADERS): Remove include/gc_cpp.h entry. * include/include.am (include_HEADERS): Remove include/extra/gc_cpp.h entry. --- diff --git a/Makefile.am b/Makefile.am index 30106f9a..3275750b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -102,7 +102,8 @@ EXTRA_libgc_la_SOURCES = alpha_mach_dep.S \ if CPLUSPLUS lib_LTLIBRARIES += libgccpp.la -pkginclude_HEADERS += include/gc_cpp.h include/gc_allocator.h +pkginclude_HEADERS += include/gc_cpp.h +include_HEADERS += include/extra/gc_cpp.h libgccpp_la_SOURCES = gc_cpp.cc libgccpp_la_LIBADD = ./libgc.la libgccpp_la_LDFLAGS = -version-info 1:3:0 -no-undefined diff --git a/include/include.am b/include/include.am index 399e5420..c72bc86f 100644 --- a/include/include.am +++ b/include/include.am @@ -21,7 +21,6 @@ pkginclude_HEADERS += \ include/gc_typed.h \ include/gc_inline.h \ include/gc_mark.h \ - include/gc_cpp.h \ include/weakpointer.h \ include/new_gc_alloc.h \ include/gc_allocator.h \ @@ -56,5 +55,4 @@ dist_noinst_HEADERS += \ # unprefixed header include_HEADERS += \ - include/extra/gc.h \ - include/extra/gc_cpp.h + include/extra/gc.h