Fix the GLEXT function prototype typedefs detection.

This commit is contained in:
Lionel Ulmer 2000-07-29 11:30:56 +00:00 committed by Alexandre Julliard
parent a9c19f0710
commit fe210ef34b
2 changed files with 162 additions and 156 deletions

309
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -276,11 +276,14 @@ then
AC_TRY_COMPILE([#include <GL/gl.h> AC_TRY_COMPILE([#include <GL/gl.h>
#include <GL/glext.h>], #include <GL/glext.h>],
[PFNGLCOLORTABLEEXTPROC test_proc;], [PFNGLCOLORTABLEEXTPROC test_proc;],
[AC_DEFINE(HAVE_GLEXT_PROTOTYPES) [wine_cv_extension_prototypes="yes"],
wine_cv_extension_prototypes="yes"],
[wine_cv_extension_prototypes="no"] [wine_cv_extension_prototypes="no"]
) )
) )
if test $wine_cv_extension_prototypes = "yes"
then
AC_DEFINE(HAVE_GLEXT_PROTOTYPES)
fi
AC_DEFINE(HAVE_OPENGL) AC_DEFINE(HAVE_OPENGL)
OPENGL32_DLL=opengl32 OPENGL32_DLL=opengl32