If system doesn't have OpenGL, don't refer to libopengl32.so.

This commit is contained in:
Hidenori Takeshima 2000-05-23 23:36:41 +00:00 committed by Alexandre Julliard
parent 32c8934d8a
commit 4615e29c58
3 changed files with 208 additions and 201 deletions

View File

@ -86,7 +86,7 @@ LINTS = $(C_SRCS:.c=.ln)
X_DLLS = \
ddraw \
opengl32 \
@OPENGL32_DLL@ \
x11drv
DLLS = \

404
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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