[PATCH xclock] Use AM_ICONV

Gaetan Nadon memsize at videotron.ca
Wed Aug 24 06:06:40 PDT 2011


On Tue, 2011-08-23 at 19:08 -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.
> 
> Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net> 


Reviewed-by: Gaetan Nadon <memsize at videotron.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110824/8fa4ff13/attachment.htm>
-------------- 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/20110824/8fa4ff13/attachment.pgp>


More information about the xorg-devel mailing list