This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix build on Solaris 2.5.1


On Wed, Feb 08, 2006 at 09:26:02PM +0100, Eric Botcazou wrote:
> > 2006-01-30  Eric Botcazou  <ebotcazou@libertysurf.fr>
> >
> > binutils/
> >
> > 	* configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
> > 	* configure: Regenerate.
> > 	* objdump.c (fprintf): Remove declaration.
> > 	* bucomm.h (fprintf): Declare if not already declared.
> > 	(snprintf): Likewise.
> > 	(vsnprintf): Likewise.
> >
> > gas/
> >
> > 	* configure.in (CHECK_DECLS): Add vsnprintf.
> > 	* configure: Regenerate.
> > 	* messages.c (errno.h, stdarg.h, varargs.h, va_list):
> > 	Do not include/declare here, but...
> > 	* as.h: Move code detecting VARARGS idiom to the top.
> > 	(errno.h, stdarg.h, varargs.h, va_list): ...here.
> > 	(vsnprintf): Declare if not already declared.

CVS also contains {gas,binutils}/config.in, I have regenerated
them with autoheader and committed as obvious:

2006-02-14  Jakub Jelinek  <jakub@redhat.com>

gas/
	* config.in: Rebuilt.
binutils/
	* config.in: Rebuilt.

--- gas/config.in.jj	2005-08-16 11:21:34.000000000 +0200
+++ gas/config.in	2006-02-14 09:57:13.000000000 +0100
@@ -48,6 +48,10 @@
 /* Is the prototype for getopt in <unistd.h> in the expected format? */
 #undef HAVE_DECL_GETOPT
 
+/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
+   don't. */
+#undef HAVE_DECL_VSNPRINTF
+
 /* Define to 1 if you have the <errno.h> header file. */
 #undef HAVE_ERRNO_H
 
--- binutils/config.in.jj	2005-09-13 09:15:40.000000000 +0200
+++ binutils/config.in	2006-02-14 09:57:02.000000000 +0100
@@ -50,6 +50,10 @@
    */
 #undef HAVE_DECL_SBRK
 
+/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
+   don't. */
+#undef HAVE_DECL_SNPRINTF
+
 /* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
    */
 #undef HAVE_DECL_STPCPY
@@ -58,6 +62,10 @@
    */
 #undef HAVE_DECL_STRSTR
 
+/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
+   don't. */
+#undef HAVE_DECL_VSNPRINTF
+
 /* Does the platform use an executable suffix? */
 #undef HAVE_EXECUTABLE_SUFFIX
 


	Jakub


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