[Libreoffice-commits] core.git: configure.ac

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Sun Oct 25 12:10:23 UTC 2020


 configure.ac |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit d384d6f3c52a909a6e8e444963e954ea49050875
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Sun Oct 25 11:49:43 2020 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Sun Oct 25 13:09:46 2020 +0100

    Use wsl-lo-helper to read a Registry value
    
    Change-Id: Ie006ed818e91e5cd4869fabb1b8fa9bcf0da943f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104768
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/configure.ac b/configure.ac
index 985bfb0eb68f..74911610a3e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3531,6 +3531,11 @@ reg_get_value()
     # Return value: $regvalue
     unset regvalue
 
+    if test "$build_os" = "wsl"; then
+        regvalue=$($BUILDDIR/solenv/wsl/wsl-lo-helper.exe --read-registry $1 "$2")
+        return
+    fi
+
     local _regentry="/proc/registry${1}/${2}"
     if test -f "$_regentry"; then
         # Stop bash complaining about \0 bytes in input, as it can't handle them.


More information about the Libreoffice-commits mailing list