fix messages for OpenGL headers detection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-11-04 20:13:26 +00:00
parent 3c6fa82663
commit e541dae02d
2 changed files with 8 additions and 0 deletions

5
configure vendored
View File

@ -33531,6 +33531,8 @@ if test "$wxUSE_OPENGL" = "yes"; then
elif test "$wxUSE_MSW" = 1; then
OPENGL_LIBS="-lopengl32 -lglu32"
else
echo "$as_me:$LINENO: checking for OpenGL headers" >&5
echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
ac_find_includes=
for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
@ -33558,6 +33560,9 @@ echo "${ECHO_T}found in $ac_find_includes" >&6
fi
CPPFLAGS="$ac_path_to_include $CPPFLAGS"
else
echo "$as_me:$LINENO: result: not found" >&5
echo "${ECHO_T}not found" >&6
fi
if test "${ac_cv_header_GL_gl_h+set}" = set; then

View File

@ -3877,11 +3877,14 @@ if test "$wxUSE_OPENGL" = "yes"; then
else
dnl adjust CPPFLAGS to include GL/gl.h location if necessary
dnl (/opt/graphics/OpenGL is for HP-UX systems, bug 925307)
AC_MSG_CHECKING([for OpenGL headers])
WX_PATH_FIND_INCLUDES([$SEARCH_INCLUDE /opt/graphics/OpenGL/include], GL/gl.h)
if test "$ac_find_includes" != "" ; then
AC_MSG_RESULT(found in $ac_find_includes)
WX_INCLUDE_PATH_EXIST($ac_find_includes, $CPPFLAGS)
CPPFLAGS="$ac_path_to_include $CPPFLAGS"
else
AC_MSG_RESULT([not found])
fi
AC_CHECK_HEADER(GL/gl.h, [