tl-parser/configure.ac
Ben Wiederhake abb3e47a98 Use a general crc32 implementation.
This simplifies the copyright management, as the old crc.{c,h}
had to be mentioned explicitly. This does NOT REALLY pull a new
dependency, as tgl already depends on -lz.
In fact, this ditches -lm, as the only usage (even including tgl)
was a single call to 'sqrt' from within crc32.c.
2015-10-04 14:55:00 +02:00

34 lines
815 B
Plaintext

# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([tl-parser], [1.0])
m4_include([m4-ax_gcc_builtin.m4])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CC
# Checks for libraries.
# We only need the symbol 'crc32'. Stay on the safe side by checking a more specific symbol.
AC_CHECK_LIB([z], [crc32_combine])
# Checks for header files.
AC_CHECK_HEADERS([fcntl.h mach/mach.h stdlib.h string.h sys/time.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_INLINE
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([clock_gettime memset strdup])
AX_GCC_BUILTIN(__builtin_bswap32)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT