Wayland + configure: take care of HAVE_GLXGETPROCADDRESSARB

This commit is contained in:
ManoloFLTK 2022-11-05 05:01:56 +01:00
parent 4b4591dd72
commit bb4cc0ffe8

View File

@ -1027,7 +1027,9 @@ AS_CASE([$host_os_gui], [cygwin* | mingw*], [
AC_DEFINE([HAVE_GL_GLU_H])
GLLIBS="$($PKGCONFIG --libs glu) $GLLIBS"
])
GLWLDEMO="egl"
AC_CHECK_LIB([GL], [glXGetProcAddressARB], [AC_DEFINE([HAVE_GLXGETPROCADDRESSARB])
],, [-lm])
GLWLDEMO="egl"
], [
LINKFLTKGL=""
GLLIBNAME=""