From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26717 invoked by alias); 31 Mar 2005 14:42:14 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 26283 invoked from network); 31 Mar 2005 14:41:58 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 31 Mar 2005 14:41:58 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DH0t6-0000kH-S8; Thu, 31 Mar 2005 09:43:12 -0500 Date: Thu, 31 Mar 2005 16:01:00 -0000 From: Daniel Jacobowitz To: Jerome Guitton Cc: binutils@sources.redhat.com Subject: Re: [RFA] fix compilation warning in libiberty.h Message-ID: <20050331144312.GA2694@nevyn.them.org> Mail-Followup-To: Jerome Guitton , binutils@sources.redhat.com References: <20050331132734.GA25521@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050331132734.GA25521@adacore.com> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00925.txt.bz2 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