[Gc] bdw-gc.pc: Cflags: -I${includedir}/pc ?

Petter Urkedal urkedal at nbi.dk
Wed Aug 29 12:00:28 PDT 2007


On 2007-08-29, Boehm, Hans wrote:
> Thanks.  I put this in my tree (after some reformatting of the stup
> include fails, which seem to have gotten mangled below).  To be checked
> in shortly.

My fault, I should have made an attachment.  I guess you've already
fixed it, but here it is again.

> I currently didn't put in the warning, since I'm not sure there is a
> plan to get rid of these.

Yes, that's probably the best given the amount of existing code.
-------------- next part --------------
diff --git a/include/extra/gc.h b/include/extra/gc.h
new file mode 100644
index 0000000..55ae4c6
--- /dev/null
+++ b/include/extra/gc.h
@@ -0,0 +1,2 @@
+/* This file is installed for backward compatibility. */
+#include <gc/gc.h>
diff --git a/include/extra/gc_cpp.h b/include/extra/gc_cpp.h
new file mode 100644
index 0000000..36669f9
--- /dev/null
+++ b/include/extra/gc_cpp.h
@@ -0,0 +1,2 @@
+/* This file is installed for backward compatibility. */
+#include <gc/gc_cpp.h>
diff --git a/include/include.am b/include/include.am
index 78c57c3..6b82b0f 100644
--- a/include/include.am
+++ b/include/include.am
@@ -52,3 +52,8 @@ dist_noinst_HEADERS += \
 	include/cord.h \
 	include/ec.h \
 	include/javaxfc.h 
+
+# unprefixed header
+include_HEADERS += \
+	include/extra/gc.h \
+	include/extra/gc_cpp.h


More information about the Gc mailing list