cc: Added inline to Tile::IsReadyToDraw
[chromium-blink-merge.git] / third_party / talloc / configure.ac
blobc1b1d2e4a1217cf80f6f55f280b7cba6f8b41829
1 AC_PREREQ(2.50)
2 AC_INIT(talloc, 2.0.1)
3 AC_CONFIG_SRCDIR([talloc.c])
4 AC_SUBST(datarootdir)
5 AC_CONFIG_HEADER(config.h)
7 TALLOC_VERSION=${PACKAGE_VERSION}
8 TALLOC_VERSION_MAJOR=`echo ${PACKAGE_VERSION} | cut -d '.' -f1`
9 TALLOC_VERSION_MINOR=`echo ${PACKAGE_VERSION} | cut -d '.' -f2`
10 TALLOC_VERSION_RELEASE=`echo ${PACKAGE_VERSION} | cut -d '.' -f3`
12 AC_SUBST(TALLOC_VERSION)
13 AC_SUBST(TALLOC_VERSION_MAJOR)
14 AC_SUBST(TALLOC_VERSION_MINOR)
15 AC_SUBST(TALLOC_VERSION_RELEASE)
17 AC_DEFINE_UNQUOTED(TALLOC_BUILD_VERSION_MAJOR,
18         [${TALLOC_VERSION_MAJOR}],
19         [talloc major version])
20 AC_DEFINE_UNQUOTED(TALLOC_BUILD_VERSION_MINOR,
21         [${TALLOC_VERSION_MINOR}],
22         [talloc minor version])
23 AC_DEFINE_UNQUOTED(TALLOC_BUILD_VERSION_RELEASE,
24         [${TALLOC_VERSION_RELEASE}],
25         [talloc release version])
27 AC_LIBREPLACE_ALL_CHECKS
29 AC_LD_PICFLAG
30 AC_LD_SHLIBEXT
31 AC_LD_SONAMEFLAG
32 AC_LD_VERSIONSCRIPT
33 AC_LIBREPLACE_SHLD
34 AC_LIBREPLACE_SHLD_FLAGS
36 m4_include(libtalloc.m4)
37 m4_include(compat/talloc_compat1.m4)
39 AC_PATH_PROG(XSLTPROC,xsltproc)
40 DOC_TARGET=""
41 if test -n "$XSLTPROC"; then
42         DOC_TARGET=doc
44 AC_SUBST(DOC_TARGET)
46 m4_include(build_macros.m4)
47 BUILD_WITH_SHARED_BUILD_DIR
49 AC_OUTPUT(Makefile talloc.pc)