If system doesn't have OpenGL, don't refer to libopengl32.so.
This commit is contained in:
parent
32c8934d8a
commit
4615e29c58
|
@ -86,7 +86,7 @@ LINTS = $(C_SRCS:.c=.ln)
|
|||
|
||||
X_DLLS = \
|
||||
ddraw \
|
||||
opengl32 \
|
||||
@OPENGL32_DLL@ \
|
||||
x11drv
|
||||
|
||||
DLLS = \
|
||||
|
|
|
@ -128,6 +128,8 @@ AC_SUBST(XFILES)
|
|||
XFILES=""
|
||||
AC_SUBST(OPENGLFILES)
|
||||
OPENGLFILES=""
|
||||
AC_SUBST(OPENGL32_DLL)
|
||||
OPENGL32_DLL=""
|
||||
AC_SUBST(DGA_SRCS)
|
||||
DGA_SRCS=""
|
||||
AC_SUBST(DGA2_SRCS)
|
||||
|
@ -270,6 +272,7 @@ then
|
|||
if test $ac_cv_lib_GL_glXGetProcAddressARB = "yes"
|
||||
then
|
||||
AC_DEFINE(HAVE_OPENGL)
|
||||
OPENGL32_DLL=opengl32
|
||||
OPENGLFILES='$(OPENGLFILES)'
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue