d55b03c0f6753bd791ea7ec063ab9dd72638d21c
[skeinsum.git] / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.69])
5 AC_INIT([skeinsum], m4_esyscmd_s([./version.sh]), [j@jxself.org])
6 AC_CONFIG_SRCDIR([skein.h])
7 AC_CONFIG_HEADERS([config.h])
8 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
9
10 # Checks for programs.
11 AC_PROG_CC
12
13 # Checks for libraries.
14
15 # Checks for header files.
16 AC_CHECK_HEADERS([limits.h malloc.h stddef.h stdlib.h string.h unistd.h errno.h])
17
18 # Checks for typedefs, structures, and compiler characteristics.
19 AC_TYPE_SIZE_T
20
21 # Checks for library functions.
22 AC_FUNC_MALLOC
23 AC_CHECK_FUNCS([memset strerror])
24
25 AC_SYS_LARGEFILE
26
27 AC_CONFIG_FILES([makefile])
28 AC_OUTPUT