| # -*- Autoconf -*- |
| # Process this file with autoconf to produce a configure script. |
| |
| AC_PREREQ(2.59) |
| AC_INIT([avro-cpp], m4_esyscmd([cat ../../share/VERSION.txt]), [avro-devel@apache.org]) |
| AC_CONFIG_AUX_DIR([config]) |
| AM_INIT_AUTOMAKE |
| AC_CONFIG_SRCDIR([api/AvroParse.hh]) |
| AC_CONFIG_MACRO_DIR([m4]) |
| |
| # Checks for programs. |
| AC_PROG_CXX |
| AC_PROG_LIBTOOL |
| AC_PROG_LEX |
| AC_PROG_YACC |
| |
| AC_CHECK_PROG(DOXYGEN, doxygen, doxygen) |
| AC_CHECK_PROG(PYTHON, python, python) |
| |
| # Checks for libraries. |
| AX_BOOST_BASE([1.32.0]) |
| AX_BOOST_REGEX |
| AX_BOOST_THREAD |
| AX_BOOST_SYSTEM |
| AX_BOOST_ASIO |
| AX_BOOST_FILESYSTEM |
| |
| # Checks for header files. |
| AC_FUNC_ALLOCA |
| AC_HEADER_STDC |
| AC_CHECK_HEADERS([inttypes.h libintl.h malloc.h stddef.h stdint.h stdlib.h string.h unistd.h]) |
| |
| # Checks for typedefs, structures, and compiler characteristics. |
| AC_HEADER_STDBOOL |
| AC_C_CONST |
| AC_C_INLINE |
| |
| # Checks for library functions. |
| AC_FUNC_MALLOC |
| AC_FUNC_REALLOC |
| AC_CHECK_FUNCS([memset]) |
| |
| AC_CONFIG_FILES([Makefile]) |
| AC_OUTPUT |