mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
56fb138489
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.
21 lines
435 B
Plaintext
21 lines
435 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, :)
|
|
|
|
dnl Check for headers
|
|
AC_HEADER_STDC()
|
|
AC_CHECK_HEADERS([inttypes.h stdint.h sys/types.h])
|
|
AC_CHECK_FUNCS(vsscanf,,)
|