# HG changeset patch # User rosfran # Date 1164805352 0 # Node ID 3c5189bfdca692d693fed80bf90f169876566b6c # Parent 458fb60cd8275d8244b4dd69a5598eb60ab95454 [svn r136] Rearrange some dependency libraries (using the mktime and time_t). diff -r 458fb60cd827 -r 3c5189bfdca6 gmyth/configure.ac --- a/gmyth/configure.ac Wed Nov 29 12:53:57 2006 +0000 +++ b/gmyth/configure.ac Wed Nov 29 13:02:32 2006 +0000 @@ -37,7 +37,6 @@ DX_PS_FEATURE(OFF) DX_INIT_DOXYGEN(gmyth, doxygen.cfg, docs) - # Checks for libraries. # Checks for header files. @@ -52,9 +51,6 @@ AC_STRUCT_TM AC_HEADER_STDBOOL -AC_CHECK_FUNCS([gethostname inet_ntoa localtime_r memset select socket strrchr strstr]) - - # Checks for library functions. AC_FUNC_FORK AC_FUNC_STRFTIME @@ -63,7 +59,7 @@ AC_FUNC_MALLOC AC_FUNC_MKTIME AC_FUNC_VPRINTF -AC_CHECK_FUNCS([memset socket stime strstr strtoul gethostname inet_ntoa localtime_r select strrchr]) +AC_CHECK_FUNCS([memset socket stime strstr strtoul gethostname inet_ntoa localtime_r select strrchr localtime]) AM_INIT_AUTOMAKE($PACKAGE, $VERSION) @@ -193,6 +189,7 @@ AC_CHECK_FUNCS([inet_ntoa]) AC_CHECK_HEADERS([ifaddrs.h]) AC_CHECK_FUNCS([getifaddrs]) +AC_CHECK_FUNCS([time]) # # mysql libraries