[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - configure.ac

Michael Stahl mstahl at redhat.com
Sat Aug 16 20:13:39 PDT 2014


 configure.ac |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

New commits:
commit 2087b54aab25ddbab5128af9f777b1686bc0ce5e
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Aug 15 13:25:22 2014 +0200

    configure: don't try to use Win32 make on release branch
    
    Change-Id: Icd8c1b45659ca323aef25a55803f5b1ce078b9d3
    Reviewed-on: https://gerrit.libreoffice.org/10932
    Reviewed-by: Thomas Arnhold <thomas at arnhold.org>
    Tested-by: Thomas Arnhold <thomas at arnhold.org>

diff --git a/configure.ac b/configure.ac
index 537f48b..2f19999 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5016,8 +5016,18 @@ for a in "$MAKE" "$GNUMAKE" make gmake gnumake; do
     if test -n "$a"; then
         $a --version 2> /dev/null | grep GNU  2>&1 > /dev/null
         if test $? -eq 0;  then
-            GNUMAKE=`which $a`
-            break
+            if test "$build_os" = "cygwin"; then
+                if test -n "$($a -v | grep 'Built for Windows')" ; then
+                    AC_MSG_NOTICE([$a is a native Win32 make, which is not supported on this old branch.])
+                    unset GNUMAKE
+                else
+                    GNUMAKE=`which $a`
+                    break
+                fi
+            else
+                GNUMAKE=`which $a`
+                break
+            fi
         fi
     fi
 done


More information about the Libreoffice-commits mailing list