This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
PATCH to install some incldue files from boehm-gc
- To: java-patches at gcc dot gnu dot org
- Subject: PATCH to install some incldue files from boehm-gc
- From: Per Bothner <per at bothner dot com>
- Date: 31 Aug 2001 18:50:54 -0700
- Cc: hans_boehm at hp dot com
I believe at least gc.h should be installed in $includedir,
It is needed for any application that needs to do Posix redirects.
This patch seems to do the job. However, I'd like Hans to check
whether the list of header files to include is reasonable.
I rather arbitrarily left out the C++ header with the concern
that they should be installed a different directory than $includedir.
My I guess there isn't any reason to not include those in the same
directory.
One possible concern is that installing more files leads to more
risk of files names clashing. For what it is worth, none of the
listed files clash with any file in /usr/include on RedHat 7.1.
(There is a libguile/gc.h but that should not conflict.)
2001-08-31 Per Bothner <per@bothner.com>
* include/Makefile.am: New file. It defines include_HEADERS.
* Makefile.am (SUBDIRS): New macro, set to include.
* configure.in (AC_OUTPUT): Add include/Makefile.
Index: include/Makefile.am
===================================================================
RCS file: Makefile.am
diff -N Makefile.am
--- /dev/null Tue May 5 13:32:27 1998
+++ Makefile.am Fri Aug 31 18:38:36 2001
@@ -0,0 +1,5 @@
+AUTOMAKE_OPTIONS = foreign
+
+include_HEADERS = gc.h gc_backptr.h gc_local_alloc.h \
+ gc_pthread_redirects.h leak_detector.h
+
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/Makefile.am,v
retrieving revision 1.26
diff -u -r1.26 Makefile.am
--- Makefile.am 2001/08/18 01:04:42 1.26
+++ Makefile.am 2001/09/01 01:38:36
@@ -6,6 +6,8 @@
AUTOMAKE_OPTIONS = cygnus
+SUBDIRS = include
+
# Multilib support variables.
MULTISRCTOP =
MULTIBUILDTOP =
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/configure.in,v
retrieving revision 1.31
diff -u -r1.31 configure.in
--- configure.in 2001/08/20 16:40:46 1.31
+++ configure.in 2001/09/01 01:38:36
@@ -243,7 +243,7 @@
multilib_arg=
fi
-AC_OUTPUT(Makefile, [
+AC_OUTPUT(Makefile include/Makefile, [
dnl Put all the -D options in a file.
echo "$DEFS" > boehm-cflags
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/