This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[gcjx]: Patch: FYI: fix config header file name
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 12 Jan 2005 20:50:22 -0700
- Subject: [gcjx]: Patch: FYI: fix config header file name
- Reply-to: tromey at redhat dot com
I'm checking this in on the gcjx branch.
We want gcjx to have a different config header file name from the rest
of gcc, so it can be referenced more easily by the tree back end.
Also we want to include this everywhere.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* Makefile.in, aclocal.m4, configure: Rebuilt.
* config.h.in: Removed.
* gcjx-config.h.in: New file.
* typedefs.hh: Include gcjx-config.h.
* configure.ac: Renamed header to gcjx-config.h.
Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/gcjx/Attic/configure.ac,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 configure.ac
--- configure.ac 13 Jan 2005 03:18:33 -0000 1.1.2.1
+++ configure.ac 13 Jan 2005 03:53:53 -0000
@@ -5,7 +5,7 @@
AC_INIT(gcjx, 0.1, [tromey@redhat.com])
AC_CONFIG_SRCDIR([name.cc])
AM_INIT_AUTOMAKE
-AC_CONFIG_HEADER([config.h])
+AC_CONFIG_HEADER([gcjx-config.h])
AM_MAINTAINER_MODE
AC_ARG_WITH([bootclasspath],
Index: typedefs.hh
===================================================================
RCS file: /cvs/gcc/gcc/gcjx/Attic/typedefs.hh,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 typedefs.hh
--- typedefs.hh 13 Jan 2005 03:18:33 -0000 1.1.2.1
+++ typedefs.hh 13 Jan 2005 03:53:53 -0000
@@ -1,6 +1,6 @@
// Typedefs for the front end.
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -22,6 +22,8 @@
#ifndef GCJX_TYPEDEFS_HH
#define GCJX_TYPEDEFS_HH
+#include <gcjx-config.h>
+
// Must be included before anything else on Mac OS 10.3 (and probably other
// systems) when _GLIBCPP_USE_C99 is defined, or the compiler can't
// resolve ::_Exit.