Fix constant name for the OpenGL support test result.

Signed-off-by: gregory guy <g-gregory@gmx.fr>
pull/11/head
gregory guy 5 years ago committed by Slávek Banko
parent 7b0045aa6b
commit 3afe017ec8
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -389,7 +389,7 @@ AC_ARG_WITH(opengl,
) )
if test "$build_opengl" != "no"; then if test "$build_opengl" != "no"; then
AC_MSG_CHECKING(for Qt with OpenGL support) AC_MSG_CHECKING(for TQt with OpenGL support)
AC_CACHE_VAL(ac_cv_kde_qt_has_opengl, AC_CACHE_VAL(ac_cv_kde_qt_has_opengl,
[ [
AC_LANG_SAVE AC_LANG_SAVE
@ -420,7 +420,7 @@ if test "$build_opengl" != "no"; then
AC_MSG_RESULT($ac_cv_kde_qt_has_opengl) AC_MSG_RESULT($ac_cv_kde_qt_has_opengl)
if test x$ac_cv_kde_qt_has_opengl = xyes; then if test x$ac_cv_kde_qt_has_opengl = xyes; then
AC_DEFINE(HAVE_QGLWIDGET, 1, [have Qt with OpenGL support]) AC_DEFINE(HAVE_TQGLWIDGET, 1, [have TQt with OpenGL support])
gl_libs="-lGL" gl_libs="-lGL"
else else
gl_libs="" gl_libs=""

@ -121,9 +121,6 @@
/* Define if your system needs _NSGetEnviron to set up the environment */ /* Define if your system needs _NSGetEnviron to set up the environment */
#undef HAVE_NSGETENVIRON #undef HAVE_NSGETENVIRON
/* have Qt with OpenGL support */
#undef HAVE_QGLWIDGET
/* Define if you have res_init */ /* Define if you have res_init */
#undef HAVE_RES_INIT #undef HAVE_RES_INIT
@ -181,6 +178,9 @@
/* Define to 1 if you have the <sys/types.h> header file. */ /* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H #undef HAVE_SYS_TYPES_H
/* have TQt with OpenGL support */
#undef HAVE_TQGLWIDGET
/* have TunePimp */ /* have TunePimp */
#undef HAVE_TUNEPIMP #undef HAVE_TUNEPIMP

Loading…
Cancel
Save