# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([zlog], [1.0], [BUG-REPORT-ADDRESS]) AM_INIT_AUTOMAKE([foreign -Wall]) AC_CONFIG_SRCDIR([log_queue.cpp]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CXX AC_PROG_AWK AC_PROG_CC AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_RANLIB # Checks for libraries. # FIXME: Replace `main' with a function in `-ldl': AC_CHECK_LIB([dl], [main]) # FIXME: Replace `main' with a function in `-lrt': AC_CHECK_LIB([rt], [main]) # FIXME: Replace `main' with a function in `-lzlog': AC_CHECK_LIB([zlog], [main]) # Checks for header files. AC_CHECK_HEADERS([memory.h stdint.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_INT64_T AC_TYPE_PID_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_ALLOCA AC_FUNC_MALLOC AC_CHECK_FUNCS([clock_gettime gettimeofday localtime_r memmove realpath strchr strerror strstr]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT