Move #defines to before the includes where they'll have an effect.
[libmkv.git] / configure.ac
blob4c6104e73a11f2f65286318a38c79a6d9ef9962d
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 AC_PREREQ(2.61)
5 AC_INIT(libmkv, 0.6.1.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 # Checks for libraries.
20 # Checks for header files.
21 AC_HEADER_STDC
22 AC_CHECK_HEADERS([inttypes.h stdint.h stdlib.h string.h])
24 # Checks for typedefs, structures, and compiler characteristics.
25 AC_C_CONST
26 AC_TYPE_INT64_T
27 AC_TYPE_SIZE_T
28 AC_TYPE_INT8_T
29 AC_TYPE_OFF_T
30 AC_TYPE_UINT32_T
31 AC_TYPE_UINT64_T
32 AC_TYPE_UINT8_T
34 # Checks for library functions.
35 AC_CHECK_FUNCS([memset strdup])
37 AC_CONFIG_FILES([Makefile
38                  include/Makefile
39                  src/Makefile
40                  test/Makefile])
41 AC_OUTPUT