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:
5
configure
vendored
5
configure
vendored
@@ -33531,6 +33531,8 @@ if test "$wxUSE_OPENGL" = "yes"; then
|
|||||||
elif test "$wxUSE_MSW" = 1; then
|
elif test "$wxUSE_MSW" = 1; then
|
||||||
OPENGL_LIBS="-lopengl32 -lglu32"
|
OPENGL_LIBS="-lopengl32 -lglu32"
|
||||||
else
|
else
|
||||||
|
echo "$as_me:$LINENO: checking for OpenGL headers" >&5
|
||||||
|
echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
|
||||||
|
|
||||||
ac_find_includes=
|
ac_find_includes=
|
||||||
for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
|
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
|
fi
|
||||||
|
|
||||||
CPPFLAGS="$ac_path_to_include $CPPFLAGS"
|
CPPFLAGS="$ac_path_to_include $CPPFLAGS"
|
||||||
|
else
|
||||||
|
echo "$as_me:$LINENO: result: not found" >&5
|
||||||
|
echo "${ECHO_T}not found" >&6
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "${ac_cv_header_GL_gl_h+set}" = set; then
|
if test "${ac_cv_header_GL_gl_h+set}" = set; then
|
||||||
|
@@ -3877,11 +3877,14 @@ if test "$wxUSE_OPENGL" = "yes"; then
|
|||||||
else
|
else
|
||||||
dnl adjust CPPFLAGS to include GL/gl.h location if necessary
|
dnl adjust CPPFLAGS to include GL/gl.h location if necessary
|
||||||
dnl (/opt/graphics/OpenGL is for HP-UX systems, bug 925307)
|
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)
|
WX_PATH_FIND_INCLUDES([$SEARCH_INCLUDE /opt/graphics/OpenGL/include], GL/gl.h)
|
||||||
if test "$ac_find_includes" != "" ; then
|
if test "$ac_find_includes" != "" ; then
|
||||||
AC_MSG_RESULT(found in $ac_find_includes)
|
AC_MSG_RESULT(found in $ac_find_includes)
|
||||||
WX_INCLUDE_PATH_EXIST($ac_find_includes, $CPPFLAGS)
|
WX_INCLUDE_PATH_EXIST($ac_find_includes, $CPPFLAGS)
|
||||||
CPPFLAGS="$ac_path_to_include $CPPFLAGS"
|
CPPFLAGS="$ac_path_to_include $CPPFLAGS"
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT([not found])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_CHECK_HEADER(GL/gl.h, [
|
AC_CHECK_HEADER(GL/gl.h, [
|
||||||
|
Reference in New Issue
Block a user