bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110435] autoreconf does not recognize AM_ICONV


From: anonymous
Subject: [sr #110435] autoreconf does not recognize AM_ICONV
Date: Sat, 30 Jan 2021 06:12:18 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.11.3 Chrome/65.0.3325.230 Safari/537.36 Konqueror (WebEnginePart)

Follow-up Comment #2, sr #110435 (project autoconf):

[comment #1 comment #1:]
> > https://lists.gnu.org/archive/html/bug-gettext/2011-10/msg00012.html
> > When a project wants to only use AM_ICONV and none of the other gettext
autoconf macros
> 
> If your package only wants to use iconv() but no support for localized
messages, it should use the gnulib module 'iconv'. This module includes the
config.rpath file.

Could you show to me (and also to other people) a configure.ac example how to
to use it? Yes I just need to use only iconv() library and ICONV_CONST macro
in C source code which is provided by autoconf macro AM_ICONV.

> autoreconf deals with gettext for convenience. It does not know about gnulib
modules.
> 
> > projects which needs to use AM_ICONV started providing their own
"autogen.sh" script which copies required file config.rpath to current
directory and then run autoreconf.
> 
> This is not future-proof: if new files (.m4 files or else) are needed as new
dependencies of iconv.m4, this method will not know about it.

I know. But all projects started doing it due to above unfixed bug in
autoreconf/autopoint/gettext and it started to be de-facto start way how to
workaround above bug. And I'm just following this way.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110435>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]