From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id yXuLJkc+EmXbCx0AWB0awg (envelope-from ) for ; Mon, 25 Sep 2023 22:13:27 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=RZm64Jds; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 926621E0C3; Mon, 25 Sep 2023 22:13:27 -0400 (EDT) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 846A61E028 for ; Mon, 25 Sep 2023 22:13:25 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9C78F385C6DA for ; Tue, 26 Sep 2023 02:13:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C78F385C6DA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1695694404; bh=+ID9cjf/55158aco/Ihh3AtkfB3K3qQSqTWNA53D1jM=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=RZm64Jdszo2eMb73JYz0x1PcgLWKiijNI/RtI17bGrn5DRGnG3O/xmQ51JLiOsVkj eWtfPRwDobrNTgu567bW6ZW5vTbSjgZB4seQtCXiCP5NCQQJ8+IRDgAZWWad8iMnzH C5e2UlLBipbzgsKVjnk3h660pjeJssHmePVt1r6g= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 3A9BD3858D35 for ; Tue, 26 Sep 2023 02:13:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3A9BD3858D35 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-367-1MaLboyINHWV5D2KZE3Jkw-1; Mon, 25 Sep 2023 22:12:58 -0400 X-MC-Unique: 1MaLboyINHWV5D2KZE3Jkw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 095A585A5BE; Tue, 26 Sep 2023 02:12:58 +0000 (UTC) Received: from f37-zws-nv (unknown [10.22.32.95]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6083610EE402; Tue, 26 Sep 2023 02:12:57 +0000 (UTC) Date: Mon, 25 Sep 2023 19:12:56 -0700 To: Arsen =?UTF-8?Q?Arsenovi=C4=87?= via Binutils Subject: Re: [PATCH v2 1/2] *: add modern gettext support Message-ID: <20230925191256.2b11bf4a@f37-zws-nv> In-Reply-To: <20230926004300.1716711-3-arsen@aarsen.me> References: <20230926004300.1716711-2-arsen@aarsen.me> <20230926004300.1716711-3-arsen@aarsen.me> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Kevin Buettner via Gdb-patches Reply-To: Kevin Buettner Cc: Iain Sandoe , Bruno Haible , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On Tue, 26 Sep 2023 02:17:33 +0200 Arsen Arsenovi=C4=87 via Binutils wrote: > gdb/acinclude.m4 | 3 +- > gdbsupport/Makefile.am | 5 + [...] > diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4 > index 173e40b440a..d505fbbb267 100644 > --- a/gdb/acinclude.m4 > +++ b/gdb/acinclude.m4 > @@ -235,7 +235,8 @@ AC_DEFUN([GDB_AC_CHECK_BFD], [ > # always want our bfd. > CFLAGS=3D"-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS" > LDFLAGS=3D"-L../bfd -L../libiberty $LDFLAGS" > - intl=3D`echo $LIBINTL | sed 's,${top_builddir}/,,g'` > + # LTLIBINTL because we use libtool as CC below. > + intl=3D"$(echo "$LTLIBINTL" | sed 's,\$[[{(]top_builddir[)}]]/,,')" > LIBS=3D"-lbfd -liberty $intl $LIBS" > CC=3D"./libtool --quiet --mode=3Dlink $CC" > AC_CACHE_CHECK( > diff --git a/gdbsupport/Makefile.am b/gdbsupport/Makefile.am > index 00524e9a566..f1a641308fe 100644 > --- a/gdbsupport/Makefile.am > +++ b/gdbsupport/Makefile.am > @@ -20,6 +20,11 @@ > AUTOMAKE_OPTIONS =3D no-dist foreign > ACLOCAL_AMFLAGS =3D -I . -I ../config > =20 > +# Suppress 'configure.ac: error: AM_GNU_GETTEXT used but SUBDIRS not def= ined' > +# from Automake, as gdbsupport uses AM_GNU_GETTEXT through > +# ZW_GNU_GETTEXT_SISTER_DIR, but doesn't have any translations (currentl= y). > +SUBDIRS =3D > + > AM_CPPFLAGS =3D -I$(srcdir)/../include -I$(srcdir)/../gdb \ > -I../gnulib/import -I$(srcdir)/../gnulib/import \ > -I.. -I$(srcdir)/.. $(INCINTL) -I../bfd -I$(srcdir)/../bfd \ The GDB portions look reasonable to me, so those parts are approved. You'l= l still need to get approval for all of the other areas though. Approved-by: Kevin Buettner (GDB portions only.)