Forgot to seed srandom()
[libmkv.git] / configure.ac
blobb59e117bd686a379e4f903b4dfd5bf7cd45f674c
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 AC_PREREQ(2.61)
5 AC_INIT(libmkv, 0.6.3, 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_SYS_LARGEFILE
29 AC_TYPE_INT64_T
30 AC_TYPE_SIZE_T
31 AC_TYPE_INT8_T
32 AC_TYPE_OFF_T
33 AC_TYPE_UINT32_T
34 AC_TYPE_UINT64_T
35 AC_TYPE_UINT8_T
37 # Checks for library functions.
38 AC_CHECK_FUNCS([memset strdup])
40 AC_CONFIG_FILES([Makefile
41                  include/Makefile
42                  src/Makefile])
43 AC_OUTPUT