From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14459 invoked by alias); 27 Jan 2005 14:59:03 -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 13915 invoked from network); 27 Jan 2005 14:58:44 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 27 Jan 2005 14:58:44 -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 j0REwd0e031760; Thu, 27 Jan 2005 09:58:44 -0500 Received: from localhost.redhat.com (vpn50-100.rdu.redhat.com [172.16.50.100]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j0REwYO11892; Thu, 27 Jan 2005 09:58:34 -0500 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D63447D79; Thu, 27 Jan 2005 09:57:50 -0500 (EST) Message-ID: <41F9016C.6000101@gnu.org> Date: Thu, 27 Jan 2005 14:59: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: [commit] Avoid CATOBJEXT=NONE; Was: [patch/rfc] Only use ../intl/ when present References: <41EC520B.7060003@gnu.org> <41F54D42.60204@gnu.org> In-Reply-To: <41F54D42.60204@gnu.org> Content-Type: multipart/mixed; boundary="------------010104010004030701080100" X-SW-Source: 2005-01/txt/msg00452.txt.bz2 This is a multi-part message in MIME format. --------------010104010004030701080100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 655 Andrew Cagney wrote: > 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 :-/ The attached should fix a further problem - it was appending NONE as the catalog suffix. Again tested on a system with installed gettext, and with --disable-nls (which isn't very useful). If people still encounter problems can they please include a few details such as the broken Makefile. Otherwize I'm put in a situtation where I'm flying blind :-( committed, configures also regenerated, Andrew --------------010104010004030701080100 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1124 2005-01-27 Andrew Cagney * gettext.m4: Don't use NONE as a default for CATOBJEXT. Index: gettext.m4 =================================================================== RCS file: /cvs/src/src/gettext.m4,v retrieving revision 1.4 diff -p -u -r1.4 gettext.m4 --- gettext.m4 24 Jan 2005 20:00:49 -0000 1.4 +++ gettext.m4 27 Jan 2005 14:44:24 -0000 @@ -40,7 +40,7 @@ AC_DEFUN([CY_WITH_NLS], dnl catgets is only used if permitted by option --with-catgets. nls_cv_header_intl= nls_cv_header_libgt= - CATOBJEXT=NONE + CATOBJEXT= AC_CHECK_HEADER(libintl.h, [AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc, @@ -81,7 +81,7 @@ 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" && test -d $srcdir/../intl; then + if test x"$CATOBJEXT" = x && 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 --------------010104010004030701080100--