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

Vinson Lee vlee at freedesktop.org
Tue Feb 19 00:55:38 PST 2013


MinGW does not have clock_gettime.

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

diff --git a/configure.ac b/configure.ac
index 16c2f8c..1e11b4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -500,7 +500,7 @@ AC_CHECK_FUNC([dlopen], [DEFINES="$DEFINES -DHAVE_DLOPEN"],
 AC_SUBST([DLOPEN_LIBS])
 
 case "$host_os" in
-darwin*)
+darwin*|mingw*)
     ;;
 *)
     AC_CHECK_FUNCS([clock_gettime], [CLOCK_LIB=],
-- 
1.8.1.2



More information about the mesa-dev mailing list