34 lines
749 B
Text
34 lines
749 B
Text
|
# -*- Autoconf -*-
|
||
|
# Process this file with autoconf to produce a configure script.
|
||
|
|
||
|
AC_PREREQ(2.59)
|
||
|
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
|
||
|
AC_CONFIG_SRCDIR([src/params.cc])
|
||
|
AC_CONFIG_HEADER([config.h])
|
||
|
|
||
|
# Checks for programs.
|
||
|
AC_PROG_CXX
|
||
|
|
||
|
# Checks for libraries.
|
||
|
|
||
|
# Checks for header files.
|
||
|
AC_HEADER_DIRENT
|
||
|
AC_HEADER_STDC
|
||
|
AC_CHECK_HEADERS([string.h sys/time.h unistd.h])
|
||
|
|
||
|
# Checks for typedefs, structures, and compiler characteristics.
|
||
|
AC_HEADER_STDBOOL
|
||
|
AC_C_CONST
|
||
|
AC_C_INLINE
|
||
|
AC_TYPE_SIZE_T
|
||
|
AC_HEADER_TIME
|
||
|
AC_C_VOLATILE
|
||
|
|
||
|
# Checks for library functions.
|
||
|
AC_FUNC_CLOSEDIR_VOID
|
||
|
AC_FUNC_MALLOC
|
||
|
AC_CHECK_FUNCS([floor gettimeofday memset pow sqrt])
|
||
|
|
||
|
AC_CONFIG_FILES([Makefile])
|
||
|
AC_OUTPUT
|