mkvtoolnix/ac/initialization.m4
Moritz Bunkus 6f7b760d34 build system: explicitly check for the C++ preprocessor
Otherwise setting PKG_CONFIG_PATH may interfere, and CXXCPP won't be
set. This in turn leads to problems detecting Boost.
2017-02-13 20:21:27 +01:00

23 lines
504 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
AC_PROG_CXXCPP
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, :)
PKG_PROG_PKG_CONFIG
dnl Check for headers
AC_HEADER_STDC()
AC_CHECK_HEADERS([inttypes.h stdint.h sys/types.h sys/syscall.h stropts.h])
AC_CHECK_FUNCS([vsscanf syscall],,)