]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
fixed handling of --with-opengl=auto (default value) for Mac/MSW (it behaved as ...
[wxWidgets.git] / configure
index 59c6e2140ea9d2eb2914a351e481723bb8b27c30..96c3d829e6ef4228c17d07179de2d8086179516e 100755 (executable)
--- a/configure
+++ b/configure
@@ -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