From c92fcc852fe123034633eba9cda91c780632b2f8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 16 Dec 2013 08:25:12 -0800 Subject: Fix testsuite build on OS X. There's no linker flag of this name in the normal clang, presumably beause the linker feature doesn't exist. --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f1d2b0f..fd390de 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,8 @@ AC_SYS_LARGEFILE # uintptr_t to a void *") by default. Kill that. XORG_TESTSET_CFLAG(CWARNFLAGS, [-Wno-int-conversion]) +has_znow=yes + case $host_os in mingw*) build_egl=no @@ -72,6 +74,7 @@ case $host_os in build_egl=no build_glx=yes build_wgl=no + has_znow=no EPOXY_LINK_LIBS="" ;; *) @@ -101,6 +104,7 @@ if test x$build_wgl = xyes; then AC_DEFINE([BUILD_WGL], [1], [build WGL tests]) fi +AM_CONDITIONAL(HAS_ZNOW, test x$has_znow = xyes) case $host_os in mingw*) -- cgit v1.2.1