Kaydet (Commit) e7dec288 authored tarafından David Ostrovsky's avatar David Ostrovsky Kaydeden (comit) Michael Stahl

set WINEGCC only when cross compiling

Change-Id: I598490aa71b658844d912008c0cf14e225bda0db
üst b391778d
...@@ -6106,8 +6106,8 @@ AC_SUBST(BUILD_EPM) ...@@ -6106,8 +6106,8 @@ AC_SUBST(BUILD_EPM)
dnl =================================================================== dnl ===================================================================
dnl We need winegcc when building MinGW build to be able to cross-build msi tools dnl We need winegcc when building MinGW build to be able to cross-build msi tools
dnl =================================================================== dnl ===================================================================
AC_PATH_PROG(WINEGCC, winegcc)
if test "$WITH_MINGW" = "yes" -a "$PKGFORMAT" = "msi" ; then if test "$WITH_MINGW" = "yes" -a "$PKGFORMAT" = "msi" ; then
AC_PATH_PROG(WINEGCC, winegcc)
if test "$WINEGCC" = ""; then if test "$WINEGCC" = ""; then
AC_MSG_ERROR([winegcc was not found, please install wine-devel, or wine-devel-32bit]) AC_MSG_ERROR([winegcc was not found, please install wine-devel, or wine-devel-32bit])
fi fi
...@@ -6122,6 +6122,7 @@ printf ("hello world\n"); ...@@ -6122,6 +6122,7 @@ printf ("hello world\n");
) )
CC="$CC_save" CC="$CC_save"
fi fi
AC_SUBST(WINEGCC)
dnl =================================================================== dnl ===================================================================
dnl Check for gperf dnl Check for gperf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment