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: Daniel Jacobowitz <drow at false dot org>
- To: Jerome Guitton <guitton at adacore dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 31 Mar 2005 09:43:12 -0500
- Subject: Re: [RFA] fix compilation warning in libiberty.h
- References: <20050331132734.GA25521@adacore.com>
On Thu, Mar 31, 2005 at 03:27:34PM +0200, Jerome Guitton wrote:
> The problem has been reported by Joel Brobecker:
>
> http://sourceware.org/ml/binutils/2005-03/msg00529.html
>
> HAVE_DECL_BASENAME was not defined during bfd's configure. This patch
> should fix the problem.
>
> OK to apply?
No...
> +AC_MSG_CHECKING(for a declaration for basename)
> +AC_CACHE_VAL(bfd_cv_decl_basename,
> +[AC_TRY_COMPILE([#include "sysdep.h"],
> +[#ifndef basename
Can't this be just AC_CHECK_DECLS(basename)?
--
Daniel Jacobowitz
CodeSourcery, LLC