From f9098b0c1866eba179ad124884aeb146eae30d0a Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 7 Mar 2018 13:33:14 +0000 Subject: autotools: check for dlvsym As per the previous commit, instead of assuming that Apple doesn't have dlvsym but everywhere else does, actually check for dlvsym() existing as that function is glibc-specific. --- test/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/Makefile.am b/test/Makefile.am index d0c1a5d..1513099 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -96,7 +96,7 @@ endif if BUILD_EGL if BUILD_GLX -if !BUILD_APPLE +if HAVE_DLVSYM EGL_AND_GLX_TESTS = \ egl_gl \ egl_and_glx_different_pointers_egl_glx \ @@ -107,8 +107,8 @@ endif endif endif -if !BUILD_APPLE -GLX_NON_APPLE_TESTS = \ +if HAVE_DLVSYM +GLX_DLVSYM_TESTS = \ glx_alias_prefer_same_name \ glx_gles2 \ $() @@ -122,7 +122,7 @@ GLX_TESTS = \ glx_has_extension_nocontext \ glx_static \ $(GLX_SHARED_ZNOW) \ - $(GLX_NON_APPLE_TESTS) \ + $(GLX_DLVSYM_TESTS) \ $() GLX_UTIL_LIB = libglx_common.la -- cgit v1.2.1