mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-24 09:00:12 +01:00
This reverts commit 03c37f56b2.
The AC_PROG_MKDIR_P is also one of those autoconf macros defined
in newer versions only. Since we use mkdir -p in releasing scripts
only, it's not a big deal if it's not portable.
25 lines
674 B
Text
25 lines
674 B
Text
|
|
AC_PATH_PROG(FIND, find)
|
|
AC_PATH_PROG(XARGS, xargs)
|
|
|
|
AC_PROG_CC
|
|
AC_PROG_CPP
|
|
AC_PROG_CXX dnl required for BeOS (and cannot be a conditional dependency)
|
|
AM_PROG_CC_C_O
|
|
AC_C_INLINE
|
|
|
|
dnl ===========================================================================
|
|
|
|
PKG_PROG_PKG_CONFIG()
|
|
if test "x$PKG_CONFIG" = x; then
|
|
AC_MSG_ERROR([pkg-config >= $PKGCONFIG_REQUIRED required but not found (http://pkgconfig.freedesktop.org/)])
|
|
fi
|
|
|
|
dnl Check for recent pkg-config which supports Requires.private
|
|
case `$PKG_CONFIG --version` in
|
|
[0.?|0.?.?|0.1[0-7]|0.1[0-7].?]) PKGCONFIG_REQUIRES="Requires"; ;;
|
|
*) PKGCONFIG_REQUIRES="Requires.private"; ;;
|
|
esac
|
|
|
|
AC_SUBST(PKGCONFIG_REQUIRES)
|
|
|