diff options
-rw-r--r-- | config_host/config_features.h.in | 6 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in index 0aa1d6766870..0a389798116f 100644 --- a/config_host/config_features.h.in +++ b/config_host/config_features.h.in @@ -152,13 +152,13 @@ #define HAVE_FEATURE_BREAKPAD 0 /* - * * Whether to enable ATL - * */ + * Whether to enable ATL + */ #define HAVE_FEATURE_ATL 0 /* * Whether OpenGL is enabled - * */ + */ #define HAVE_FEATURE_OPENGL 0 /* diff --git a/configure.ac b/configure.ac index 7a2ec3bb744d..c1657a3d6a00 100644 --- a/configure.ac +++ b/configure.ac @@ -3760,6 +3760,7 @@ if test "$_os" = "WINNT" -a "$WITH_MINGW" != yes; then AC_MSG_CHECKING([whether to use ATL]) if test "$enable_atl" = "yes" -o "$enable_atl" = "" -a "$vcexpress" != Express; then DISABLE_ATL="" + AC_DEFINE(HAVE_FEATURE_ATL, 1) AC_MSG_RESULT([yes]) else DISABLE_ATL="TRUE" @@ -10436,6 +10437,7 @@ elif test $_os = WINNT; then ENABLE_OPENGL_CANVAS=TRUE else if test "$USING_X11" = TRUE; then + AC_CHECK_LIB(GL, glBegin, [:], AC_MSG_ERROR([libGL required.])) ENABLE_OPENGL=TRUE AC_DEFINE(HAVE_FEATURE_OPENGL,1) ENABLE_OPENGL_CANVAS=TRUE |