File: configure.ac.tools

package info (click to toggle)
indigo 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 30,976 kB
  • sloc: ansic: 161,353; cpp: 96,766; xml: 22,002; sh: 20,874; cs: 7,565; sql: 7,492; java: 6,377; asm: 1,503; python: 924; makefile: 732; perl: 60
file content (25 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

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)