diff options
| author | Eric Anholt <eric@anholt.net> | 2013-12-09 14:52:19 -0800 |
|---|---|---|
| committer | Eric Anholt <eric@anholt.net> | 2013-12-10 14:13:22 -0800 |
| commit | 1d746bfeb234bee77b62af4e75ae90ef8f6c616e (patch) | |
| tree | 06a4c296b2fdbecc92734584a4b9def25405548d /configure.ac | |
| parent | f4992e151856baf9e713dee6bc773a520eacc114 (diff) | |
| download | libepoxy-1d746bfeb234bee77b62af4e75ae90ef8f6c616e.tar.gz | |
Add dispatch generation for wgl.
This is very poorly tested at this point, but survives a simple testcase.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a9fc38b..2031414 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,7 @@ case $host_os in mingw*) build_egl=no build_glx=no + build_wgl=yes # On windows, the DLL has to have all of its functions # resolved at link time, so we have to link directly aginst # opengl32.dll. But that's the only GL provider, anyway. @@ -66,6 +67,7 @@ case $host_os in *) build_egl=yes build_glx=yes + build_wgl=no # On platforms with dlopen, we load everything dynamically and # don't link against a specific window system or GL implementation. EPOXY_LINK_LIBS="" @@ -84,6 +86,11 @@ if test x$build_glx = xyes; then AC_DEFINE([BUILD_GLX], [1], [build GLX tests]) fi +AM_CONDITIONAL(BUILD_WGL, test x$build_wgl = xyes) +if test x$build_wgl = xyes; then + AC_DEFINE([BUILD_WGL], [1], [build WGL tests]) +fi + case $host_os in mingw*) @@ -123,4 +130,5 @@ AC_OUTPUT echo " EGL: $build_egl" echo " GLX: $build_glx" +echo " WGL: $build_wgl" echo " PYTHON: $PYTHON" |
