This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: Fix gcc/config.in


Hi Per,

At the top of config.in, there is

/* config.in.  Generated automatically from configure.in by autoheader.  */

The new variable should be added into acconfig.h and run

# autoheader

to rebuild config.in. I checked in the following patch as an obvious
fix.


H.J.
----
2001-09-30  H.J. Lu <hjl@gnu.org>

	* acconfig.h (PREFIX_INCLUDE_DIR): New variable.
	* config.in: Rebuild.

--- gcc/acconfig.h.header	Thu Jan 25 13:56:21 2001
+++ gcc/acconfig.h	Sun Sep 30 11:15:44 2001
@@ -26,6 +26,9 @@
 /* Define to `int' if <sys/types.h> doesn't define.  */
 #undef ssize_t
 
+/* Define if cpp should also search $prefix/include. */
+#undef PREFIX_INCLUDE_DIR
+
 @BOTTOM@
 
 /* Bison unconditionally undefines `const' if neither `__STDC__' nor
--- gcc/config.in.header	Sun Sep 30 11:04:14 2001
+++ gcc/config.in	Sun Sep 30 11:15:49 2001
@@ -1,4 +1,4 @@
-/* config.in.  Generated automatically from configure.in by autoheader 2.13.  */
+/* config.in.  Generated automatically from configure.in by autoheader.  */
 
 /* Define to empty if the keyword does not work.  */
 #undef const
@@ -80,6 +80,9 @@
 /* Define to `int' if <sys/types.h> doesn't define.  */
 #undef ssize_t
 
+/* Define if cpp should also search $prefix/include. */
+#undef PREFIX_INCLUDE_DIR
+
 /* Define if you have the __argz_count function.  */
 #undef HAVE___ARGZ_COUNT
 
@@ -509,8 +512,6 @@
 /* Define 0/1 to force the choice for exception handling model. */
 #undef CONFIG_SJLJ_EXCEPTIONS
 
-/* Define if cpp should also search $prefix/include. */
-#undef PREFIX_INCLUDE_DIR
 
 /* Bison unconditionally undefines `const' if neither `__STDC__' nor
    __cplusplus are defined.  That's a problem since we use `const' in


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]