mkvtoolnix/ac/initialization.m4
Moritz Bunkus 3b82fc8711 Let configure find the windres tool
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).
2009-02-25 15:35:06 +01:00

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,,)