#! /bin/sh
-# From configure.in Id: configure.in 56932 2008-11-23 12:33:32Z VZ .
+# From configure.in Id: configure.in 57199 2008-12-08 16:51:43Z FM .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
#
if test "x$OPENGL_LIBS" = "x"; then
- { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
-echo "$as_me: error: OpenGL libraries not available" >&2;}
- { (exit 1); exit 1; }; }
+ { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
+echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
+ wxUSE_OPENGL=no
+ USE_OPENGL=0
fi
fi
[ ])
if test "x$OPENGL_LIBS" = "x"; then
- dnl it should be an error and not a warning because OpenGL is not on
- dnl by default and so if it had been explicitly requested, we
- dnl shouldn't just fall back to compiling the library without it
- AC_MSG_ERROR(OpenGL libraries not available)
+ AC_MSG_WARN([OpenGL libraries not available, disabling support for OpenGL])
+ wxUSE_OPENGL=no
+ USE_OPENGL=0
fi
fi