From c48ba8ecc539e1ebeb378b6ee350fd520c78c1f0 Mon Sep 17 00:00:00 2001 From: Brent Putman Date: Thu, 17 Aug 2006 16:10:42 +0000 Subject: [PATCH] Simplify autoconf timegm function check. --- configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 31b2d1c..7b773ed 100644 --- a/configure.ac +++ b/configure.ac @@ -53,7 +53,7 @@ AC_C_CONST AC_TYPE_SIZE_T # Checks for library functions. -AC_CHECK_FUNCS([strchr strdup strstr]) +AC_CHECK_FUNCS([strchr strdup strstr timegm]) AC_CHECK_HEADERS([dlfcn.h]) AC_CHECK_FUNC(dlclose, , [ AC_CHECK_LIB(dl, dlopen) ]) @@ -205,9 +205,6 @@ AC_TRY_LINK( [Define if you have an STL implementation that supports useful string specialization.])], ) -# check for timegm() support -AC_CHECK_FUNC(timegm, AC_DEFINE(HAVE_TIMEGM,1,[Define to 1 if timegm is available])) - # Check for unit test support CXXTEST="/usr/bin/cxxtestgen.pl" CXXTESTFLAGS="" -- 2.1.4