Size should be a uint instead of size_t for now.
[libmkv.git] / configure.ac
blob8314d7ffa7fe71d3d9f26b2923deee0603f94879
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 AC_PREREQ(2.61)
5 AC_INIT(libmkv, 0.6.2, saintdev@gmail.com)
7 AC_CONFIG_AUX_DIR([config])
9 AC_CONFIG_SRCDIR([include/libmkv.h])
10 AC_CONFIG_HEADER([config.h])
11 AM_INIT_AUTOMAKE
13 # Checks for programs.
14 AC_PROG_CC
15 AC_PROG_LIBTOOL
16 AC_PROG_INSTALL
18 AC_DEFINE(_GNU_SOURCE, 1, [GNU C extensions])
20 # Checks for libraries.
22 # Checks for header files.
23 AC_HEADER_STDC
24 AC_CHECK_HEADERS([inttypes.h stdint.h stdlib.h string.h])
26 # Checks for typedefs, structures, and compiler characteristics.
27 AC_C_CONST
28 AC_TYPE_INT64_T
29 AC_TYPE_SIZE_T
30 AC_TYPE_INT8_T
31 AC_TYPE_OFF_T
32 AC_TYPE_UINT32_T
33 AC_TYPE_UINT64_T
34 AC_TYPE_UINT8_T
35 AC_SYS_LARGEFILE
37 # Checks for library functions.
38 AC_FUNC_FSEEKO
39 AC_CHECK_FUNCS([memset strdup])
41 AC_CONFIG_FILES([Makefile
42                  include/Makefile
43                  src/Makefile])
44 AC_OUTPUT