On Thu, 25 Nov 2010, Doug Kaufman wrote:

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

I didn't notice a problem (it works with all of my own configurations).
Will check/etc - thanks

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: [email protected]


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to