This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] fix compilation warning in libiberty.h
- From: Jerome Guitton <guitton at adacore dot com>
- To: Adam Nemet <anemet at lnxw dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, binutils at sources dot redhat dot com
- Date: Tue, 26 Apr 2005 12:27:46 +0200
- Subject: Re: [RFA] fix compilation warning in libiberty.h
- References: <20050331132734.GA25521@adacore.com> <20050331144312.GA2694@nevyn.them.org> <17001.33583.831885.170218@anemet1.lynx.com>
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'