From 8e4eb081ddbbb11ef708e9217a519769c88b1c23 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 24 Jul 2022 21:34:28 +0300 Subject: [PATCH 45/45] emscipten: Set ALWAYS_ROOT See osdn #45223 Signed-off-by: Marko Lindqvist --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 5c75158be2..93f7087ed6 100644 --- a/configure.ac +++ b/configure.ac @@ -795,6 +795,10 @@ dnl Defaults to override with host specific values HOST_PATH_SEPARATOR=":" HOST_DIR_SEPARATOR="/" +if test "x$emscripten" = "xyes" ; then + AC_DEFINE([ALWAYS_ROOT], [1], [Can execute program as root - emscripten]) +fi + dnl Settings specific to host OS case "$host_os" in -- 2.35.1