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

Noel Grandin noel at peralex.com
Mon Dec 1 01:55:32 PST 2014


 configure.ac |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

New commits:
commit 2dc8ed6970e76c160eb335963ae4a6922b5f94b3
Author: Noel Grandin <noel at peralex.com>
Date:   Fri Nov 28 12:15:37 2014 +0200

    simplify finding of windows SDK in configure.ac
    
    find_winsdk() is never called with a parameter
    
    Change-Id: Ib0b0e5053a3bf792b66832d96ebf771251a24c1f
    Reviewed-on: https://gerrit.libreoffice.org/13167
    Tested-by: LibreOffice gerrit bot <gerrit at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/configure.ac b/configure.ac
index 70c2529..3193342 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5087,13 +5087,7 @@ find_winsdk()
 
     unset winsdktest
 
-    if test -n "$1"; then
-        sdkversions=$1
-    else
-        sdkversions="$WINDOWS_SDK_ACCEPTABLE_VERSIONS"
-    fi
-
-    for ver in $sdkversions; do
+    for ver in $WINDOWS_SDK_ACCEPTABLE_VERSIONS; do
         find_winsdk_version $ver
         if test -n "$winsdktest"; then
             return


More information about the Libreoffice-commits mailing list