From d2391b2dfdf3b9f43616a9822f82e39376639a86 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 3 Oct 2019 00:28:08 +0100 Subject: make the use of libutf8proc coditional allow the browser to be compiled without libutf8proc. Without this library safe utf8 conversion and verification is not possible so the browser will loose the ability to navigate to adresses using the idna punycode scheme. --- Makefile.defaults | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Makefile.defaults') diff --git a/Makefile.defaults b/Makefile.defaults index 31d4a424c..c7edf7b7d 100644 --- a/Makefile.defaults +++ b/Makefile.defaults @@ -89,6 +89,14 @@ NETSURF_BUILTIN_LOG_FILTER := "(level:WARNING || cat:jserrors)" # if the logging level is set to verbose NETSURF_BUILTIN_VERBOSE_FILTER := "(level:VERBOSE || cat:jserrors)" +# Force using glibc internal iconv implementation instead of external libiconv +# Valid options: YES, NO +NETSURF_USE_LIBICONV_PLUG := YES + +# Enable use of utf8proc for international domain name processing +# Valid options: YES, NO, AUTO (highly recommended) +NETSURF_USE_UTF8PROC := YES + # Enable stripping the NetSurf binary # Valid options: YES, NO NETSURF_STRIP_BINARY := NO @@ -104,10 +112,6 @@ NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s)" # riscos/gui.c NETSURF_HOMEPAGE := "about:welcome" -# Force using glibc internal iconv implementation instead of external libiconv -# Valid options: YES, NO -NETSURF_USE_LIBICONV_PLUG := YES - # Enable building the source object cache filesystem based backing store. # implementation. # Valid options: YES, NO -- cgit v1.2.3