33 lines
713 B
Plaintext
33 lines
713 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.
|
|
AC_CHECK_LIB([m], [sqrt])
|
|
|
|
# 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
|