fixed handling of --with-opengl=auto (default value) for Mac/MSW (it behaved as --without-opengl before)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-07-01 09:33:21 +00:00
parent be5be16a23
commit 3dd63e0241
2 changed files with 11 additions and 5 deletions

6
configure vendored
View File

@@ -33400,8 +33400,6 @@ echo "$as_me: WARNING: OpenGL libraries not available, disabling support for Ope
wxUSE_OPENGL=no
USE_OPENGL=0
fi
else
wxUSE_OPENGL=yes
fi
else
{ echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
@@ -33409,6 +33407,10 @@ echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be
wxUSE_OPENGL="no"
fi
if test "$wxUSE_OPENGL" = "auto"; then
wxUSE_OPENGL=yes
fi
if test "$wxUSE_OPENGL" = "yes"; then
USE_OPENGL=1
cat >>confdefs.h <<\_ACEOF