From e7dec2887e511a18a5f9927884c1a1df45fc35f0 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Thu, 26 Jul 2012 19:36:35 +0200 Subject: set WINEGCC only when cross compiling Change-Id: I598490aa71b658844d912008c0cf14e225bda0db --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 1a0a72a4073f..5b0aa380c8bf 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,6 +6122,7 @@ printf ("hello world\n"); ) CC="$CC_save" fi +AC_SUBST(WINEGCC) dnl =================================================================== dnl Check for gperf -- cgit