summaryrefslogtreecommitdiff
path: root/Makefile.defaults
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.defaults')
-rw-r--r--Makefile.defaults60
1 files changed, 39 insertions, 21 deletions
diff --git a/Makefile.defaults b/Makefile.defaults
index 1f9ce5fdf..bbff68814 100644
--- a/Makefile.defaults
+++ b/Makefile.defaults
@@ -32,33 +32,41 @@
# ----------------------------------------------------------------------------
# Enable NetSurf's use of libcurl for fetching over http(s)
-# Valid options: YES, NO (highly recommended)
+# Valid options: YES, NO, AUTO (highly recommended)
NETSURF_USE_CURL := YES
-# Enable NetSurf's use of openssl for fetching over https
-# Valid options: YES, NO
-NETSURF_USE_OPENSSL := YES
+# Enable NetSurf's use of openssl for processing certificates
+# Valid options: YES, NO, AUTO
+NETSURF_USE_OPENSSL := AUTO
# Enable NetSurf's use of libnsbmp for displaying BMPs and ICOs
-# Valid options: YES, NO
-NETSURF_USE_BMP := YES
+# Valid options: YES, NO, AUTO
+NETSURF_USE_BMP := AUTO
# Enable NetSurf's use of libnsgif for displaying GIFs
-# Valid options: YES, NO (highly recommended)
-NETSURF_USE_GIF := YES
+# Valid options: YES, NO, AUTO (highly recommended)
+NETSURF_USE_GIF := AUTO
# Enable NetSurf's use of libjpeg for displaying JPEGs
# Valid options: YES, NO (highly recommended)
NETSURF_USE_JPEG := YES
+# Enable NetSurf's use of libjxl for displaying JPEGXLs
+# Valid options: YES, NO, AUTO (highly recommended)
+NETSURF_USE_JPEGXL := AUTO
+
# Enable NetSurf's use of libpng for displaying PNGs.
-# Valid options: YES, NO (highly recommended)
-NETSURF_USE_PNG := YES
+# Valid options: YES, NO, AUTO (highly recommended)
+NETSURF_USE_PNG := AUTO
# Enable NetSurf's use of gstreamer for displaying videos
# Valid options: YES, NO
NETSURF_USE_VIDEO := NO
+# Enable NetSurf's use of libwebp for displaying WEBPs.
+# Valid options: YES, NO, AUTO
+NETSURF_USE_WEBP := AUTO
+
# Enable NetSurf's use of duktape for javascript
# Valid options: YES, NO
NETSURF_USE_DUKTAPE := YES
@@ -78,21 +86,30 @@ NETSURF_USE_NSPSL := AUTO
NETSURF_USE_NSLOG := AUTO
# The minimum logging level *compiled* into netsurf
# Valid options are: DEEPDEBUG, DEBUG, VERBOSE, INFO, WARNING, ERROR, CRITICAL
-NETSURF_LOG_LEVEL := INFO
+NETSURF_LOG_LEVEL := VERBOSE
# The log filter set during log initialisation before options are available
-NETSURF_BUILTIN_LOG_FILTER := level:WARNING
+NETSURF_BUILTIN_LOG_FILTER := "(level:WARNING || cat:jserrors)"
# The log filter set during log initialisation before options are available
# if the logging level is set to verbose
-NETSURF_BUILTIN_VERBOSE_FILTER := level: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
-# Template used for constructing the User Agent: string. The first two
-# replacements are major/minor version, next is OS.
-# Please don't be tempted to mention Mozilla here! Let's let that lie die.
-NETSURF_UA_FORMAT_STRING := "NetSurf/%d.%d (%s)"
+# Template used for constructing the User Agent: string. The first
+# replacement is OS, the next two are major/minor version.
+# Note that the "Mozilla/5.0" prefix is a requirement to enable modern
+# web standards on many websites. It should not be removed or modified.
+NETSURF_UA_FORMAT_STRING := "Mozilla/5.0 (%s) NetSurf/%d.%d"
# Default home page, if one is not defined by the user. Note that this
# option does not apply to the RISC OS version, as it has its own local
@@ -100,15 +117,16 @@ 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
NETSURF_FS_BACKING_STORE := NO
+# Enable the ASAN and UBSAN flags regardless of targets
+NETSURF_USE_SANITIZERS := NO
+# But recover after sanitizer failure
+NETSURF_RECOVER_SANITIZERS := YES
+
# Initial CFLAGS. Optimisation level etc. tend to be target specific.
CFLAGS :=