From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23677 invoked by alias); 25 Apr 2005 01:44:51 -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 23624 invoked from network); 25 Apr 2005 01:44:45 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 25 Apr 2005 01:44:45 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DPse5-0004xf-MB; Sun, 24 Apr 2005 21:44:21 -0400 Date: Mon, 25 Apr 2005 01:44:00 -0000 From: Daniel Jacobowitz To: Adam Nemet Cc: Jerome Guitton , binutils@sources.redhat.com Subject: Re: [RFA] fix compilation warning in libiberty.h Message-ID: <20050425014421.GB18863@nevyn.them.org> Mail-Followup-To: Adam Nemet , Jerome Guitton , binutils@sources.redhat.com References: <20050331132734.GA25521@adacore.com> <20050331144312.GA2694@nevyn.them.org> <17001.33583.831885.170218@anemet1.lynx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17001.33583.831885.170218@anemet1.lynx.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-04/txt/msg00657.txt.bz2 On Fri, Apr 22, 2005 at 04:05:19PM -0700, Adam Nemet wrote: > Daniel Jacobowitz writes: > > On Thu, Mar 31, 2005 at 03:27:34PM +0200, Jerome Guitton wrote: > >> +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)? > > The checked in version was: > > AC_CHECK_DECLS(basename, , , [#include "sysdep.h"]) > > How is this supposed to find sysdep.h? I am getting: > > $ grep -C basename bfd/config.log > configure:9522: $? = 0 > configure:9534: result: yes > configure:9545: checking whether basename is declared > configure:9570: gcc -c -g -O2 conftest.c >&5 > conftest.c:73:20: sysdep.h: No such file or directory This should be fixed as of Wednesday; do you still see the problem? -- Daniel Jacobowitz CodeSourcery, LLC