1234567891011121314151617181920212223242526272829303132333435363738 |
- # -*- Autoconf -*-
- # Process this file with autoconf to produce a configure script.
- AC_PREREQ([2.69])
- AC_INIT([libthree_rates], [1.0], [zhuyunfei@zh3x.cn])
- AC_CONFIG_SRCDIR([common_data.cpp])
- AC_CONFIG_HEADERS([config.h])
- AM_INIT_AUTOMAKE
- # Checks for programs.
- AC_PROG_CXX
- AC_PROG_CC
- # Checks for libraries.
- # FIXME: Replace `main' with a function in `-lrt':
- AC_CHECK_LIB([rt], [main])
- # Checks for header files.
- AC_CHECK_HEADERS([float.h stdlib.h string.h sys/time.h unistd.h])
- # Checks for typedefs, structures, and compiler characteristics.
- AC_CHECK_HEADER_STDBOOL
- AC_C_INLINE
- AC_TYPE_INT32_T
- AC_TYPE_SIZE_T
- AC_TYPE_UINT32_T
- AC_TYPE_UINT64_T
- AC_TYPE_UINT8_T
- LT_INIT
- # Checks for library functions.
- AC_FUNC_MKTIME
- AC_CHECK_FUNCS([gettimeofday localtime_r memset sqrt])
- AC_CONFIG_FILES([Makefile])
- AC_OUTPUT
|