Completed python namespace cleanup
[elliptics.git] / configure.in
blobaf786609f9133d77cc0d6a330dfd0b63380fc42d
1 AC_INIT([elliptics], [2.13.0], [zbr@ioremap.net])
2 AM_INIT_AUTOMAKE(1.9)
4 AC_GNU_SOURCE
5 AC_CONFIG_HEADERS(config/config.h)
7 AC_CONFIG_MACRO_DIR([config])
9 AC_PROG_CC
10 AC_PROG_CXX
11 AC_PROG_CPP
12 AC_PROG_LIBTOOL
14 AC_LANG([C])
15 AM_MAINTAINER_MODE
17 ACX_PTHREAD
18 AC_SYS_LARGEFILE
20 AX_PREFIX_CONFIG_H(config/acsetup.h)
21 AX_CREATE_STDINT_H(include/elliptics/typedefs.h)
23 AX_SET_VERSION_INFO
25 for i in -W -Wall -Wextra -fstack-protector-all -fno-strict-aliasing; do
26         AX_CHECK_COMPILER_FLAGS([$i], [CFLAGS="$CFLAGS $i"; CXXFLAGS="$CXXFLAGS $i"], [])
27 done
29 AC_C_BIGENDIAN_CROSS
30 AC_CHECK_LARGEFILE
31 AC_ID_SIZE
32 AC_CHECK_SENDFILE
33 AC_CHECK_IOPRIO
34 AC_CHECK_ATOMIC
35 AC_CHECK_STAT
36 AC_CHECK_EBLOB
38 AX_BOOST_BASE
39 AX_BOOST_SYSTEM
40 AX_BOOST_PROGRAM_OPTIONS
41 AX_BOOST_FILESYSTEM
42 AX_BOOST_IOSTREAMS
43 AX_BOOST_THREAD
44 AX_BOOST_PYTHON
46 AC_CHECK_SMACK
48 AC_CHECK_HEADER(dlfcn.h)
49 AC_CHECK_LIB(dl,dlopen)
51 AC_CONFIG_FILES([Makefile include/Makefile include/elliptics/Makefile
52                  library/Makefile example/Makefile
53                  doc/Makefile debian/Makefile
54                  bindings/Makefile bindings/cpp/Makefile
55                  bindings/python/Makefile
56                  srw/Makefile srw/src/Makefile])
58 AC_OUTPUT