configure.in |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 7ced12c6d010d6c573bce74c2d4c325fd01ed8e1
Author: Jan Holesovsky <ke...@suse.cz>
Date:   Fri Jul 27 10:09:48 2012 +0200

    Revert "set WINEGCC only when cross compiling"
    
    WINEGCC is needed for the 'build' part of the configuration, and the build
    part does not know anything of actually being setting up cross-compilation.
    
    This reverts commit e7dec2887e511a18a5f9927884c1a1df45fc35f0.

diff --git a/configure.in b/configure.in
index 5b0aa38..1a0a72a 100644
--- a/configure.in
+++ b/configure.in
@@ -6106,8 +6106,8 @@ AC_SUBST(BUILD_EPM)
 dnl ===================================================================
 dnl We need winegcc when building MinGW build to be able to cross-build msi 
tools
 dnl ===================================================================
+AC_PATH_PROG(WINEGCC, winegcc)
 if test "$WITH_MINGW" = "yes" -a "$PKGFORMAT" = "msi" ; then
-    AC_PATH_PROG(WINEGCC, winegcc)
     if test "$WINEGCC" = ""; then
         AC_MSG_ERROR([winegcc was not found, please install wine-devel, or 
wine-devel-32bit])
     fi
@@ -6122,7 +6122,6 @@ printf ("hello world\n");
     )
     CC="$CC_save"
 fi
-AC_SUBST(WINEGCC)
 
 dnl ===================================================================
 dnl Check for gperf
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to