On Tue, Jul 27, 2021 at 02:09:32PM +0200, Gisle Vanem wrote: > > * modify SGML parsing to allow DEL and INS tags to work on a block-level > > rather > > than only inline (Debian #981351) -TD > > * modify configure script to check for libidn2, add options menu setting for > > Tried building with 'libidn': > WWW/Library/Implementation/HTParse.c(29): fatal error C1083: > Cannot open include file: 'idn2.h': No such file or directory > > There is no 'idn2.h' in libidna. But including > 'idna.h + 'idn-free.h' works. > > But then this error too: > WWW/Library/Implementation/HTParse.c(340): > error C2065: 'IDN2_OK': undeclared identifier
thanks - I overlooked that (in reviewing, thought I'd tested plain idn). This works for me with Solaris 11.4. --- HTParse.c 2021/07/26 19:52:58 1.96 +++ HTParse.c 2021/07/27 21:22:53 1.97 @@ -1,5 +1,5 @@ /* - * $LynxId: HTParse.c,v 1.95 2021/07/08 22:54:00 tom Exp $ + * $LynxId: HTParse.c,v 1.96 2021/07/26 19:52:58 tom Exp $ * * Parse HyperText Document Address HTParse.c * ================================ @@ -26,8 +26,9 @@ #include <idn2.h> #define FreeIdna(out) idn2_free(out) #elif defined(USE_IDNA) -#include <idn2.h> +#include <idna.h> #define FreeIdna(out) idn_free(out) +#define IDN2_OK IDNA_SUCCESS #endif #define HEX_ESCAPE '%' -- Thomas E. Dickey <dic...@invisible-island.net> https://invisible-island.net ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature
_______________________________________________ Lynx-dev mailing list Lynx-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/lynx-dev