[Mesa-dev] [PATCH] configure.ac: Do not check for clock_gettime on MinGW.

Vinson Lee vlee at freedesktop.org
Mon Feb 18 22:06:10 PST 2013


MinGW does not have clock_gettime.

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 16c2f8c..57d3a70 100644
--- a/configure.ac
+++ b/configure.ac
@@ -502,6 +502,8 @@ AC_SUBST([DLOPEN_LIBS])
 case "$host_os" in
 darwin*)
     ;;
+mingw*)
+    ;;
 *)
     AC_CHECK_FUNCS([clock_gettime], [CLOCK_LIB=],
                    [AC_CHECK_LIB([rt], [clock_gettime], [CLOCK_LIB=-lrt],
-- 
1.8.1.2



More information about the mesa-dev mailing list