This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Patch to fix regenerating libiberty/config.in
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: binutils at sources dot redhat dot com, dj at redhat dot com, gdr at integrable-solutions dot net
- Date: Wed, 12 Feb 2003 14:58:24 -0500 (EST)
- Subject: Patch to fix regenerating libiberty/config.in
When I try running autoheader in libiberty, I get:
> autoheader: Symbol `uintptr_t' is not covered by .../share/autoconf/acconfig.h
This fixes it and allows config.in to be regenerated. I've included
the generated file diffs to demonstrate we're out of sync. At the
moment it doesn't appear to cause any problems, but if any future
changes are installed, we'll certainly want to be able to regenerate.
Ok for gcc trunk, 3.3 and 3.2 branches?
Thanks,
--Kaveh
PS: I don't have write access to the other repo(s) using libiberty.
2003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* acconfig.h: New file. Add uintptr_t.
* config.in: Regenerated.
diff -rup orig/egcc-CVS20030211/libiberty/acconfig.h egcc-CVS20030211/libiberty/acconfig.h
--- orig/egcc-CVS20030211/libiberty/acconfig.h Wed Feb 12 14:38:34 2003
+++ egcc-CVS20030211/libiberty/acconfig.h Wed Feb 12 14:38:16 2003
@@ -0,0 +1,3 @@
+/* Define to `unsigned long' if <sys/types.h> doesn't define. */
+#undef uintptr_t
+
diff -rup orig/egcc-CVS20030211/libiberty/config.in egcc-CVS20030211/libiberty/config.in
--- orig/egcc-CVS20030211/libiberty/config.in Tue Nov 27 20:37:24 2001
+++ egcc-CVS20030211/libiberty/config.in Wed Feb 12 14:38:44 2003
@@ -15,6 +15,9 @@
/* Define as __inline if that's what the C compiler calls it. */
#undef inline
+/* Define if your C compiler doesn't accept -c and -o together. */
+#undef NO_MINUS_C_MINUS_O
+
/* Define to `int' if <sys/types.h> doesn't define. */
#undef pid_t
@@ -29,6 +32,9 @@
/* Define vfork as fork if vfork does not work. */
#undef vfork
+
+/* Define to `unsigned long' if <sys/types.h> doesn't define. */
+#undef uintptr_t
/* Define if you have the _doprnt function. */
#undef HAVE__DOPRNT