[Libreoffice-commits] core.git: Branch 'distro/cib/libreoffice-6-1' - configure.ac

Mike Kaganski (via logerrit) logerrit at kemper.freedesktop.org
Wed Feb 3 11:18:57 UTC 2021


 configure.ac |   19 ++++---------------
 1 file changed, 4 insertions(+), 15 deletions(-)

New commits:
commit fa6dc75b49b9bd982f92f26415c52b10cf71f39b
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Wed Jul 10 14:20:18 2019 +1000
Commit:     Thorsten Behrens <thorsten.behrens at allotropia.de>
CommitDate: Wed Feb 3 12:17:47 2021 +0100

    We don't support building with Windows SDK 7.1A
    
    ... it's already impossible with 6.2; and was only needed prior to
    6.0, where Windows XP support was needed.
    
    Change-Id: Ia462f0b6566ae35bd68545d2d34d2987ee7907b9
    Reviewed-on: https://gerrit.libreoffice.org/75334
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    
    Conflicts:
            configure.ac

diff --git a/configure.ac b/configure.ac
index 373cd216d423..236c50527d40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2035,7 +2035,7 @@ AC_ARG_WITH(visual-studio,
 ,)
 
 AC_ARG_WITH(windows-sdk,
-    AS_HELP_STRING([--with-windows-sdk=<7.1(A)/8.0(A)/8.1(A)/10>],
+    AS_HELP_STRING([--with-windows-sdk=<8.0(A)/8.1(A)/10>],
         [Specify which Windows SDK, or "Windows Kit", version to use
          in case the one that came with the selected Visual Studio
          is not what you want for some reason. Note that not all compiler/SDK
@@ -3541,11 +3541,11 @@ if test "$_os" = "WINNT"; then
         case $vcnum in
         140)
             COMEX=19
-            WINDOWS_SDK_ACCEPTABLE_VERSIONS="10.0 8.1A 8.1 8.0 7.1A"
+            WINDOWS_SDK_ACCEPTABLE_VERSIONS="10.0 8.1A 8.1 8.0"
             ;;
         150)
             COMEX=19
-            WINDOWS_SDK_ACCEPTABLE_VERSIONS="10.0 8.1A 8.1 8.0 7.1A"
+            WINDOWS_SDK_ACCEPTABLE_VERSIONS="10.0 8.1A 8.1 8.0"
             ;;
         esac
 
@@ -5200,20 +5200,12 @@ find_dotnetsdk46()
 
 find_winsdk_version()
 {
-    # Args: $1 : SDK version as in "6.0A", "7.0" etc
+    # Args: $1 : SDK version as in "8.0", "8.1A" etc
     # Return values: $winsdktest, $winsdkbinsubdir, $winsdklibsubdir
 
     unset winsdktest winsdkbinsubdir winsdklibsubdir
 
     case "$1" in
-    7.*)
-        reg_get_value_32 "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Microsoft SDKs/Windows/v${1}/InstallationFolder"
-        if test -n "$regvalue"; then
-            winsdktest=$regvalue
-            winsdklibsubdir=.
-            return
-        fi
-        ;;
     8.0|8.0A)
         reg_get_value_32 "HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows Kits/Installed Roots/KitsRoot"
         if test -n "$regvalue"; then
@@ -5411,9 +5403,6 @@ the  Windows SDK are installed.])
 
     if test -z "$WINDOWS_SDK_HOME"; then
         AC_MSG_RESULT([no, hoping the necessary headers and libraries will be found anyway!?])
-    elif echo $WINDOWS_SDK_HOME | grep "v7.1" >/dev/null 2>/dev/null; then
-        WINDOWS_SDK_VERSION=70
-        AC_MSG_RESULT([found Windows SDK 7 ($WINDOWS_SDK_HOME)])
     elif echo $WINDOWS_SDK_HOME | grep "8.0" >/dev/null 2>/dev/null; then
         WINDOWS_SDK_VERSION=80
         AC_MSG_RESULT([found Windows SDK 8.0 ($WINDOWS_SDK_HOME)])


More information about the Libreoffice-commits mailing list