From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7395 invoked by alias); 24 Jan 2005 19:32:49 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 7331 invoked from network); 24 Jan 2005 19:32:43 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 24 Jan 2005 19:32:43 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j0OJWcb2017149; Mon, 24 Jan 2005 14:32:43 -0500 Received: from localhost.redhat.com (vpn50-69.rdu.redhat.com [172.16.50.69]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j0OJWbO26953; Mon, 24 Jan 2005 14:32:37 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 132B37D79; Mon, 24 Jan 2005 14:32:21 -0500 (EST) Message-ID: <41F54D42.60204@gnu.org> Date: Mon, 24 Jan 2005 19:32:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com, binutils@sources.redhat.com Subject: Re: [patch/rfc] Only use ../intl/ when present References: <41EC520B.7060003@gnu.org> In-Reply-To: <41EC520B.7060003@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-01/txt/msg00232.txt.bz2 Andrew Cagney wrote: > Hello, > > This patch should stop getgext.m4 trying to use ../intl when it isn't > present. > > I can't actually test it - all the systems I looked to test it on had a > bundled gettext :-/ > > comments? > Andrew > > (I'll need to regenerate the binutils@ and gdb@ configure files, hence > the cross post.) > > > ------------------------------------------------------------------------ > > 2005-01-17 Andrew Cagney > > * gettext.m4: Only fall back to ../intl/ when it's present. I've checked this in ... Andrew > Index: gettext.m4 > =================================================================== > RCS file: /cvs/src/src/gettext.m4,v > retrieving revision 1.3 > diff -p -u -r1.3 gettext.m4 > --- gettext.m4 14 Jan 2004 13:41:36 -0000 1.3 > +++ gettext.m4 17 Jan 2005 23:56:17 -0000 > @@ -81,9 +81,9 @@ AC_DEFUN([CY_WITH_NLS], > dnl In the standard gettext, we would now check for catgets. > dnl However, we never want to use catgets for our releases. > > - if test "$CATOBJEXT" = "NONE"; then > - dnl Neither gettext nor catgets in included in the C library. > - dnl Fall back on GNU gettext library. > + if test "$CATOBJEXT" = "NONE" && test -d $srcdir/../intl; then > + # Neither gettext nor catgets in included in the C library. > + # Fall back on GNU gettext library (assuming it is present). > nls_cv_use_gnu_gettext=yes > fi > fi