mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-10-22 07:21:21 +00:00
3b82fc8711
The windres tool used for cross-compiled mingw builds should be detected by configure. Until now it was assumed that it was simply called "windres" and not prefixed like the other compiler components (e.g. i386-mingw32msvc-gcc).
22 lines
470 B
Plaintext
22 lines
470 B
Plaintext
AC_CANONICAL_TARGET
|
|
SAVED_CFLAGS="$CFLAGS"
|
|
AC_PROG_CC
|
|
CFLAGS="$SAVED_CFLAGS"
|
|
AC_PROG_CC_C_O
|
|
AC_PROG_CPP
|
|
SAVED_CXXFLAGS="$CXXFLAGS"
|
|
AC_PROG_CXX
|
|
CXXFLAGS="$SAVED_CXXFLAGS"
|
|
AC_PROG_MAKE_SET
|
|
AC_PROG_INSTALL
|
|
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()
|
|
AC_CHECK_HEADERS([inttypes.h stdint.h sys/types.h])
|
|
AC_CHECK_FUNCS(vsscanf,,)
|