Use random() to create Track, Chapter, and Edition UIDs.
[libmkv.git] / configure.ac
blob3f9592041159f4d30fa2a9b289a5535869326376
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
36 # Checks for library functions.
37 AC_CHECK_FUNCS([memset strdup])
39 AC_CONFIG_FILES([Makefile
40                  include/Makefile
41                  src/Makefile])
42 AC_OUTPUT