Fixup automake some more.
[libmkv.git] / configure.in
blob5967f61c9448522e3c25f786f79dc6b78f1c3917
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 AC_PREREQ(2.61)
5 AC_INIT(libmkv, 0.01, saintdev@gmail.com)
6 AC_CONFIG_SRCDIR([include/libmkv.h])
7 AC_CONFIG_HEADER([config.h])
8 AM_INIT_AUTOMAKE(libmkv, 0.01)
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
25 # Checks for library functions.
26 AC_FUNC_MALLOC
27 AC_FUNC_REALLOC
28 AC_CHECK_FUNCS([memset strdup])
30 AC_CONFIG_FILES([Makefile
31                  src/Makefile
32                  include/Makefile
33                  test/Makefile])
34 AC_OUTPUT