From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4269 invoked by alias); 18 Jan 2005 00:04:44 -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 4097 invoked from network); 18 Jan 2005 00:04:24 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 18 Jan 2005 00:04:25 -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 j0I04JVp025187; Mon, 17 Jan 2005 19:04:24 -0500 Received: from localhost.redhat.com (vpn50-34.rdu.redhat.com [172.16.50.34]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j0I04JO19149; Mon, 17 Jan 2005 19:04:19 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id B37F87D79; Mon, 17 Jan 2005 19:02:20 -0500 (EST) Message-ID: <41EC520B.7060003@gnu.org> Date: Tue, 18 Jan 2005 00:04:00 -0000 From: Andrew Cagney User-Agent: Mozilla Thunderbird 0.8 (X11/20041020) MIME-Version: 1.0 To: gdb-patches@sources.redhat.com, binutils@sources.redhat.com Subject: [patch/rfc] Only use ../intl/ when present Content-Type: multipart/mixed; boundary="------------040907060201010207070500" X-SW-Source: 2005-01/txt/msg00195.txt.bz2 This is a multi-part message in MIME format. --------------040907060201010207070500 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 290 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.) --------------040907060201010207070500 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 952 2005-01-17 Andrew Cagney * gettext.m4: Only fall back to ../intl/ when it's present. 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 --------------040907060201010207070500--