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