[Libreoffice-commits] .: configure.ac

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Dec 22 15:55:46 PST 2012


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

New commits:
commit 19340f79a8e8fbd291d1b431848ad7c44aacded3
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Sun Dec 23 01:51:57 2012 +0200

    We only build for Windows on Cygwin
    
    It is pointless to test for both $build_os = cygwin and $_os = WINNT.
    
    Change-Id: I89b5196439f79284ca1a3fb08369decf20810b5b

diff --git a/configure.ac b/configure.ac
index 83def27..3ecce6c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5986,7 +5986,7 @@ dnl ===================================================================
 if test "$SOLAR_JAVA" != ""; then
 
     # Windows-specific tests
-    if test "$build_os" = "cygwin" -a "$_os" = "WINNT"; then
+    if test "$build_os" = "cygwin"; then
         if test "$BITNESS_OVERRIDE" = 64; then
             bitness="64-bit"
             otherbitness="32-bit"
@@ -6029,7 +6029,7 @@ if test "$SOLAR_JAVA" != ""; then
         fi
     fi
 
-    if test "$build_os" = "cygwin" -a "$_os" = "WINNT"; then
+    if test "$build_os" = "cygwin"; then
         # Check that the JDK found is correct architecture
         # Why is this necessary, we don't link with any library from the JDK I think,
 
@@ -6159,7 +6159,7 @@ if test "$SOLAR_JAVA" != ""; then
     if test -z "$JAVACOMPILER"; then
         AC_MSG_ERROR([$javacompiler not found set with_jdk_home])
     fi
-    if test "$build_os" = "cygwin" -a "$_os" = "WINNT"; then
+    if test "$build_os" = "cygwin"; then
         if test x`echo "$JAVACOMPILER" | $GREP -i '\.exe$'` = x; then
             JAVACOMPILER="${JAVACOMPILER}.exe"
         fi
@@ -6215,7 +6215,7 @@ if test "$SOLAR_JAVA" != ""; then
     if test -z "$JAVADOC"; then
         AC_MSG_ERROR([$_javadoc_path not found set with_jdk_home])
     fi
-    if test "$build_os" = "cygwin" -a "$_os" = "WINNT"; then
+    if test "$build_os" = "cygwin"; then
         if test x`echo "$JAVADOC" | $GREP -i '\.exe$'` = x; then
             JAVADOC="${JAVADOC}.exe"
         fi


More information about the Libreoffice-commits mailing list