From 8d7f2787e0b09e967abf348852c5088d256213ce Mon Sep 17 00:00:00 2001 From: Sven Panne Date: Thu, 6 Nov 2008 19:16:33 +0000 Subject: [PATCH] Use autoconf to detect gettimeofday instead of broken #ifdef. Note: freeglut compiles under Cygwin now, even when "--without-x" is used for configuration. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@758 7f0cb862-5218-0410-a997-914c9d46530a --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index efa1653..d0b1f17 100644 --- a/configure.ac +++ b/configure.ac @@ -57,6 +57,7 @@ AC_PROG_GCC_TRADITIONAL AC_FUNC_VPRINTF AC_CHECK_LIBM AC_SUBST([LIBM]) +AC_CHECK_FUNCS([gettimeofday]) # Build time configuration. AC_ARG_ENABLE([replace-glut], -- 1.7.10.4