Compile fixes on OSX.
[libmkv.git] / configure.in
blob6504f11ac281cba0d4f6e30168a05e86ce3b558b
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 AC_PREREQ(2.61)
5 AC_INIT(libmkv, 0.6.0, saintdev@gmail.com)
6 AC_CONFIG_SRCDIR([include/libmkv.h])
7 AC_CONFIG_HEADER([config.h])
8 AM_INIT_AUTOMAKE(libmkv, 0.6.0)
10 # Checks for programs.
11 AC_PROG_CC
12 AC_PROG_LIBTOOL
14 # Checks for libraries.
16 # Checks for header files.
17 AC_HEADER_STDC
18 AC_CHECK_HEADERS([inttypes.h stdint.h stdlib.h string.h])
20 # Checks for typedefs, structures, and compiler characteristics.
21 AC_C_CONST
22 AC_TYPE_INT64_T
23 AC_TYPE_SIZE_T
24 AC_TYPE_INT8_T
25 AC_TYPE_OFF_T
26 AC_TYPE_UINT32_T
27 AC_TYPE_UINT64_T
28 AC_TYPE_UINT8_T
30 # Checks for library functions.
31 AC_FUNC_MALLOC
32 AC_FUNC_REALLOC
33 AC_CHECK_FUNCS([memset strdup])
35 AC_CONFIG_FILES([Makefile
36                  include/Makefile
37                  src/Makefile
38                  test/Makefile])
39 AC_OUTPUT