Add files forgotten in previous commit.
[platform/upstream/libaec.git] / configure.ac
1 AC_PREREQ([2.69])
2 AC_INIT([libaes], [0.0.2], [rosenhauer@dkrz.de])
3 AC_CONFIG_AUX_DIR([config])
4 AC_CONFIG_SRCDIR([src/libae.h])
5 AC_CONFIG_HEADERS(config/config.h)
6 AM_INIT_AUTOMAKE
7
8
9 # Checks for programs.
10 AC_PROG_CC
11 AC_PROG_RANLIB
12 AC_PROG_LN_S
13
14 # Checks for libraries.
15 # FIXME: Replace `main' with a function in `-lae':
16 AC_CHECK_LIB([ae], [ae_decode])
17
18 # Checks for header files.
19 AC_CHECK_HEADERS([inttypes.h stddef.h stdlib.h string.h unistd.h])
20
21 # Checks for typedefs, structures, and compiler characteristics.
22 AC_C_INLINE
23 AC_TYPE_INT64_T
24 AC_TYPE_SIZE_T
25 AC_TYPE_UINT32_T
26 AC_TYPE_UINT64_T
27 AC_TYPE_UINT8_T
28
29 # Checks for library functions.
30 AC_FUNC_MALLOC
31 AC_CHECK_FUNCS([memset strstr])
32
33 AC_CONFIG_FILES([Makefile
34                  src/Makefile])
35 AC_OUTPUT