add some output to the GL tests..

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee 2001-11-21 13:30:58 +00:00
parent 62d0491bf6
commit 1352efdf58
2 changed files with 314 additions and 298 deletions

605
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -2314,17 +2314,24 @@ if test "$wxUSE_OPENGL" = "yes"; then
AC_CHECK_HEADER(GL/gl.h,
[
AC_MSG_CHECKING([for -lGL])
WX_PATH_FIND_LIBRARIES([$SEARCH_LIB],[GL])
if test "$ac_find_libraries" != "" ; then
WX_LINK_PATH_EXIST([$ac_find_libraries],[$LDFLAGS])
LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
OPENGL_LIBS="-lGL -lGLU"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_CHECKING([for -lMesaGL])
WX_PATH_FIND_LIBRARIES([$SEARCH_LIB],[MesaGL])
if test "$ac_find_libraries" != "" ; then
WX_LINK_PATH_EXIST([$ac_find_libraries],[$LDFLAGS])
LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
OPENGL_LIBS="-lMesaGL -lMesaGLU"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
fi
])