[PATCH xwininfo] Use AM_ICONV
Gaetan Nadon
memsize at videotron.ca
Tue Aug 23 12:28:55 PDT 2011
On Mon, 2011-08-22 at 14:34 -0500, Yaakov (Cygwin/X) wrote:
> From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
>
> AC_SEARCH_LIBS does not detect GNU libiconv because its symbols are
> exported in the "libiconv" namespace instead of "iconv". The AM_ICONV
> macro correctly detects both glibc and GNU libiconv, defines
> HAVE_ICONV,
> ICONV_CONST, and LIBICONV depending on the system. The config.rpath
> file is required by this macro.
>
> This adds a dependency on the aclocal macros from gettext
> (gettext-devel
> in some distros) when building from git, but not when building from a
> tarball.
> ---
> config.rpath | 690
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> configure.ac | 5 +-
> xwininfo.c | 2 +-
> 3 files changed, 693 insertions(+), 4 deletions(-)
> create mode 100755 config.rpath
>
>
.CC Jeremy as I vaguely recall some particularities about gettext.
Consider using the patch for xclock as it searches for iconv as well.
Reviewed-by: Gaetan Nadon <memsize at videotron.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110823/f8fbf7bc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110823/f8fbf7bc/attachment.pgp>
More information about the xorg-devel
mailing list