Fix the GLEXT function prototype typedefs detection.
This commit is contained in:
parent
a9c19f0710
commit
fe210ef34b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue