[RFA] fix compilation warning in libiberty.h

Jerome Guitton guitton@adacore.com
Tue Apr 26 10:40:00 GMT 2005


Adam Nemet (anemet@lnxw.com):

> The checked in version was:
> 
>   AC_CHECK_DECLS(basename, , , [#include "sysdep.h"]) 
> 
> How is this supposed to find sysdep.h?

It makes me think that I did the same mistake in opcodes. I checked in
the following patch, as obvious. Hopefully everything I broke recently
is now fixed. Thanks for your patience, all of you.

2005-04-26  Jerome Guitton  <guitton@gnat.com>

	* configure.in: Fix the check for basename declaration.
	* configure: Regenerate.

Index: configure.in
===================================================================
RCS file: /cvs/src/src/opcodes/configure.in,v
retrieving revision 1.55
diff -u -r1.55 configure.in
--- configure.in	14 Apr 2005 09:48:22 -0000	1.55
+++ configure.in	26 Apr 2005 10:14:18 -0000
@@ -72,7 +72,7 @@
 
 AC_CHECK_HEADERS(string.h strings.h stdlib.h)
 
-AC_CHECK_DECLS(basename, , , [#include "sysdep.h"])
+AC_CHECK_DECLS(basename)
 
 cgen_maint=no
 cgendir='$(srcdir)/../cgen'



More information about the Binutils mailing list