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

Matt Turner mattst88 at gmail.com
Tue Feb 19 07:57:00 PST 2013


On Tue, Feb 19, 2013 at 12:55 AM, Vinson Lee <vlee at freedesktop.org> wrote:
> 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
>

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the mesa-dev mailing list