[RFA] fix compilation warning in libiberty.h

Daniel Jacobowitz drow@false.org
Thu Mar 31 16:01:00 GMT 2005


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



More information about the Binutils mailing list