From: "Arsen Arsenović" <arsen@aarsen.me>
To: "Kévin Le Gouguec" <legouguec@adacore.com>
Cc: gdb-patches@sourceware.org, binutils@sourceware.org,
Bruno Haible <bruno@clisp.org>, Iain Sandoe <iain@sandoe.co.uk>
Subject: Re: [PATCH v2 1/2] *: add modern gettext support
Date: Mon, 20 Nov 2023 21:30:24 +0100 [thread overview]
Message-ID: <86wmucp3nr.fsf@aarsen.me> (raw)
In-Reply-To: <874jhg2x6p.fsf@adacore.com>
[-- Attachment #1: Type: text/plain, Size: 2461 bytes --]
Kévin Le Gouguec <legouguec@adacore.com> writes:
> Hello!
>
> Do I understand correctly that this patch, committed as
>
> 2023-11-15 "Finalized intl-update patches" (862776f26a5)
>
> specifically the bits quoted below, remove the support for in-tree
> libiconv introduced in
>
> 2015-08-24 "Missing parts of fixes for in-tree libiconv" (cfe101c6a82)
>
> ? If so, was this intentional?
It was not. I did not realize that the in-tree iconv.m4 was modified,
and simply updated it.
Bruno, should these modifications just be restored, or do you think
there's some preferable way to add sibling libiconv discovery? I am
fine with either.
> Arsen Arsenović <arsen@aarsen.me> writes:
>
>> […]
>> config/ChangeLog:
>>
>> * intlmacosx.m4: Import from gettext-0.22 (serial 8).
>> * gettext.m4: Sync with gettext-0.22 (serial 77).
>> * gettext-sister.m4 (ZW_GNU_GETTEXT_SISTER_DIR): Load gettext's
>> uninstalled-config.sh, or call AM_GNU_GETTEXT if missing.
>> * iconv.m4: Sync with gettext-0.22 (serial 26).
>> […]
>> diff --git a/config/iconv.m4 b/config/iconv.m4
>> index f1e54c5aedc..ff5d5261139 100644
>> --- a/config/iconv.m4
>> +++ b/config/iconv.m4
>> […]
>> - CPPFLAGS="$am_save_CPPFLAGS"
>> -
>> - if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
>> - for _libs in .libs _libs; do
>> - am_save_CPPFLAGS="$CPPFLAGS"
>> - am_save_LIBS="$LIBS"
>> - CPPFLAGS="$CPPFLAGS -I../libiconv/include"
>> - LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
>> - AC_TRY_LINK([#include <stdlib.h>
>> -#include <iconv.h>],
>> - [iconv_t cd = iconv_open("","");
>> + AC_LINK_IFELSE(
>> + [AC_LANG_PROGRAM(
>> + [[
>> +#include <stdlib.h>
>> +#include <iconv.h>
>> + ]],
>> + [[iconv_t cd = iconv_open("","");
>> iconv(cd,NULL,NULL,NULL,NULL);
>> - iconv_close(cd);],
>> - INCICONV="-I../libiconv/include"
>> - LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
>> - LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
>> - am_cv_lib_iconv=yes
>> - am_cv_func_iconv=yes)
>> - CPPFLAGS="$am_save_CPPFLAGS"
>> - LIBS="$am_save_LIBS"
>> - if test "$am_cv_func_iconv" = "yes"; then
>> - break
>> - fi
>> - done
>> - fi
>> -
>> […]
--
Arsen Arsenović
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 381 bytes --]
next prev parent reply other threads:[~2023-11-20 20:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-26 0:17 [PATCH v2 0/2] Replace intl/ with out-of-tree GNU gettext Arsen Arsenović via Gdb-patches
2023-09-26 0:17 ` [PATCH v2 1/2] *: add modern gettext support Arsen Arsenović via Gdb-patches
2023-09-26 2:12 ` Kevin Buettner via Gdb-patches
2023-09-26 7:03 ` Jan Beulich via Gdb-patches
2023-09-26 7:54 ` Iain Sandoe
2023-09-26 14:44 ` Arsen Arsenović via Gdb-patches
2023-09-27 7:11 ` Jan Beulich via Gdb-patches
2023-09-27 13:06 ` Arsen Arsenović via Gdb-patches
2023-09-27 15:19 ` Nick Clifton via Gdb-patches
2023-09-27 17:43 ` Arsen Arsenović via Gdb-patches
2023-09-28 9:43 ` Nick Clifton via Gdb-patches
2023-09-29 15:58 ` Bruno Haible
2023-09-29 16:27 ` Arsen Arsenović via Gdb-patches
2023-11-20 16:42 ` Kévin Le Gouguec
2023-11-20 20:30 ` Arsen Arsenović [this message]
2023-11-20 21:28 ` Bruno Haible
2023-09-26 0:17 ` [PATCH v2 2/2] *: suppress xgettext 0.22 charset name error Arsen Arsenović via Gdb-patches
2023-09-27 15:21 ` Nick Clifton via Gdb-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86wmucp3nr.fsf@aarsen.me \
--to=arsen@aarsen.me \
--cc=binutils@sourceware.org \
--cc=bruno@clisp.org \
--cc=gdb-patches@sourceware.org \
--cc=iain@sandoe.co.uk \
--cc=legouguec@adacore.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox