# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([3xls], [1.0], [zhuyunfei@zh3x.cn]) AC_CONFIG_SRCDIR([ant.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 `-lboost_chrono': AC_CHECK_LIB([boost_chrono], [main]) # FIXME: Replace `main' with a function in `-lboost_system': AC_CHECK_LIB([boost_system], [main]) # FIXME: Replace `main' with a function in `-lboost_thread': AC_CHECK_LIB([boost_thread], [main]) # FIXME: Replace `main' with a function in `-lev': AC_CHECK_LIB([ev], [main]) # FIXME: Replace `main' with a function in `-lmysqlclient': AC_CHECK_LIB([mysqlclient], [main]) # FIXME: Replace `main' with a function in `-lrt': AC_CHECK_LIB([rt], [main]) # FIXME: Replace `main' with a function in `-lthree_rates': AC_CHECK_LIB([three_rates], [main]) # FIXME: Replace `main' with a function in `-lzlog': AC_CHECK_LIB([zlog], [main]) # Checks for header files. AC_CHECK_HEADERS([arpa/inet.h fcntl.h float.h limits.h memory.h netinet/in.h stdint.h stdlib.h string.h sys/socket.h sys/time.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_CHECK_HEADER_STDBOOL AC_C_INLINE AC_TYPE_INT16_T AC_TYPE_INT32_T AC_TYPE_INT64_T AC_TYPE_INT8_T AC_TYPE_SIZE_T AC_TYPE_UINT16_T AC_TYPE_UINT32_T AC_TYPE_UINT64_T AC_TYPE_UINT8_T # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_MKTIME AC_FUNC_REALLOC AC_CHECK_FUNCS([alarm atexit clock_gettime floor gettimeofday inet_ntoa localtime_r memmove memset mkdir pow socket sqrt stime strchr strstr]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_SUBDIRS([db websocket]) AC_OUTPUT