summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-03-28 16:38:19 -0700
committerEric Anholt <eric@anholt.net>2014-03-28 16:45:26 -0700
commit756dcaf6a5e07ead098457efba15f5be75bf2123 (patch)
tree87741b9bac92d289aa5ff5c3788d0f917d04ab96 /configure.ac
parent3e09de7550cd901b8d3ecbf27e0128f0dc0f0b99 (diff)
downloadlibepoxy-756dcaf6a5e07ead098457efba15f5be75bf2123.tar.gz
Disable the dlwrap-based tests on apple.
We'd need a dlvsym() equivalent.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1218e38..df7ee89 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,6 +80,7 @@ case $host_os in
build_egl=no
build_glx=yes
build_wgl=no
+ build_apple=yes
has_znow=no
EPOXY_LINK_LIBS=""
;;
@@ -110,6 +111,11 @@ if test x$build_wgl = xyes; then
AC_DEFINE([BUILD_WGL], [1], [build WGL tests])
fi
+AM_CONDITIONAL(BUILD_APPLE, test x$build_apple = xyes)
+if test x$build_apple = xyes; then
+ AC_DEFINE([BUILD_APPLE], [1], [build APPLE is apple (for testing)])
+fi
+
AM_CONDITIONAL(HAS_ZNOW, test x$has_znow = xyes)
AC_CHECK_LIB([dl], [dlopen], [DLOPEN_LIBS="-ldl"])