mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-10-22 07:21:21 +00:00
Only check for windres during cross-builds
windres is not needed for non-Windows builds and should therefore only be checked if we are cross-compiling. Otherwise warnings or errors could confuse the user.
This commit is contained in:
parent
3b82fc8711
commit
56fb138489
@ -13,7 +13,6 @@ AC_CHECK_TOOL(RANLIB, ranlib, :)
|
||||
AC_CHECK_TOOL(STRIP, strip, :)
|
||||
AC_CHECK_TOOL(AR, ar, :)
|
||||
AC_CHECK_TOOL(LD, ld, :)
|
||||
AC_CHECK_TOOL(WINDRES, windres, :)
|
||||
|
||||
dnl Check for headers
|
||||
AC_HEADER_STDC()
|
||||
|
@ -14,6 +14,8 @@ AC_CACHE_CHECK([if being compiled with mingw32],
|
||||
MINGW_GUIAPP=-mwindows
|
||||
LIBMTXCOMMONDLL=1
|
||||
EXEEXT=.exe
|
||||
|
||||
AC_CHECK_TOOL(WINDRES, windres, :)
|
||||
else
|
||||
LIBMTXCOMMONDLL=0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user