[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - configure.ac
Michael Stahl
mstahl at redhat.com
Tue Aug 19 23:17:09 PDT 2014
configure.ac | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
New commits:
commit ba754e8ba8897be196de48c48df63b9671115356
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>
(cherry picked from commit 2087b54aab25ddbab5128af9f777b1686bc0ce5e)
Reviewed-on: https://gerrit.libreoffice.org/10990
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
diff --git a/configure.ac b/configure.ac
index 312eacd..2560a0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4798,8 +4798,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