lynx-dev
[Top][All Lists]
Advanced

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

[Lynx-dev] Configuration supporting libidn broken [PATCH]


From: Doug Kaufman
Subject: [Lynx-dev] Configuration supporting libidn broken [PATCH]
Date: Thu, 25 Nov 2010 00:12:01 -0800 (PST)

Since IDNA support is the default in the lynx configuration, I built
libidn for mingw (under Cygwin), but found that the lynx configuration
script doesn't pick it up because of unresolved dependencies. My
libidn.a file has dependencies on both libintl and on libiconv. The
attached patch is a partial fix for this, making minimal changes in
the current configuration. It adds libiconv in CF_WITH_IDNA and
changes the link order of libraries in src/makefile so that libintl
and libiconv come after libidn. I don't think this will work properly,
however, if someone tries to configure for libidn on a system where
it has dependencies, but configures lynx without NLS. In that case
INTLLIB may not be defined. It is easy to add 'LIBS="$LIBS $LIBICONV"'
in CF_WITH_IDNA, to ensure the presence of libiconv, but I don't see
an easy way to ensure the presence of libintl if lynx is configured
without NLS. The libtool file libidna.la specifies the dependencies,
but I didn't see how to use that information when we aren't using
libtool in the compilation.

Doug

-- 
Doug Kaufman
Internet: address@hidden

Attachment: dev6.pch
Description: Text document


reply via email to

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