configure.ac (690B)
1 # -*- Autoconf -*- 2 # Process this file with autoconf to produce a configure script. 3 4 AC_PREREQ([2.69]) 5 AC_INIT([liblash], [0.1.2], [dev@holbrook.no]) 6 AM_INIT_AUTOMAKE([foreign -Wall -Werror]) 7 AC_CONFIG_SRCDIR([hex.c]) 8 AC_CONFIG_HEADERS([config.h]) 9 10 # Checks for programs. 11 AC_PROG_CC 12 AM_PROG_AR 13 LT_INIT 14 AC_PROG_LIBTOOL([libtool]) 15 16 # Checks for libraries. 17 18 # Checks for header files. 19 AC_CHECK_HEADERS([limits.h stdlib.h string.h]) 20 21 # Checks for typedefs, structures, and compiler characteristics. 22 AC_TYPE_SIZE_T 23 24 # Checks for library functions. 25 AC_FUNC_MALLOC 26 AC_CHECK_FUNCS([clock_gettime memset regcomp]) 27 28 AC_CONFIG_FILES([Makefile]) 29 AC_OUTPUT