2009-12-07 Rolf Bjarne Kvinge <RKvinge@novell.com>
[moon.git] / cairo / build / configure.ac.tools
bloba24dbcecb913983f26d7b0915b7866d0358af7ed
2 AC_PATH_PROG(FIND, find)
3 AC_PATH_PROG(XARGS, xargs)
5 AC_PROG_CC
6 AC_PROG_CPP
7 AC_PROG_CXX dnl required for BeOS (and cannot be a conditional dependency)
8 AM_PROG_CC_C_O
9 AC_C_INLINE
11 dnl ===========================================================================
13 PKG_PROG_PKG_CONFIG()
14 if test "x$PKG_CONFIG" = x; then
15         AC_MSG_ERROR([pkg-config >= $PKGCONFIG_REQUIRED required but not found (http://pkgconfig.freedesktop.org/)])
18 dnl Check for recent pkg-config which supports Requires.private
19 case `$PKG_CONFIG --version` in
20 [0.?|0.?.?|0.1[0-7]|0.1[0-7].?]) PKGCONFIG_REQUIRES="Requires"; ;;
21 *) PKGCONFIG_REQUIRES="Requires.private"; ;;
22 esac
24 AC_SUBST(PKGCONFIG_REQUIRES)