From 47d2d1388575eb97c26f7b5d9cf95e07b2b2a24a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 19 Mar 2016 20:49:47 +0000 Subject: [PATCH] Fix discovery of gettimeofday() by autoconf. Without this, gettimeofday() is found but the -DHAVE_GETTIMEOFDAY flag is not passed to the compiler. This change may cause other problems; I am not an autoconf expert. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1a2314c..bc1d5ac 100644 --- a/configure.ac +++ b/configure.ac @@ -119,7 +119,7 @@ AS_IF([test "x$debugflags" != x], # Checks for functions -AC_CHECK_FUNC(gettimeofday, [cppflag="$cppflag -DHAVE_GETTIMEOFDAY"], ) +AC_CHECK_FUNCS(gettimeofday) # Checks for doxygen AC_CHECK_PROG( DOXYGEN, [doxygen], [doxygen] ) -- 2.30.2