From 4a94062baf7a7a31ae705356a5cad7dc4844a706 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Tue, 17 Sep 2019 21:01:08 +0200 Subject: [PATCH] Fix constant name for the OpenGL support test result. Signed-off-by: gregory guy (cherry picked from commit 3afe017ec84c50a492395c2bbf7434aa93761051) --- amarok/configure.in.in | 4 ++-- config.h.in | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/amarok/configure.in.in b/amarok/configure.in.in index 849a2614..2a24b260 100644 --- a/amarok/configure.in.in +++ b/amarok/configure.in.in @@ -389,7 +389,7 @@ AC_ARG_WITH(opengl, ) 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_LANG_SAVE @@ -420,7 +420,7 @@ if test "$build_opengl" != "no"; then AC_MSG_RESULT($ac_cv_kde_qt_has_opengl) 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" else gl_libs="" diff --git a/config.h.in b/config.h.in index 7886e643..7a9c2cc7 100644 --- a/config.h.in +++ b/config.h.in @@ -121,9 +121,6 @@ /* Define if your system needs _NSGetEnviron to set up the environment */ #undef HAVE_NSGETENVIRON -/* have Qt with OpenGL support */ -#undef HAVE_QGLWIDGET - /* Define if you have res_init */ #undef HAVE_RES_INIT @@ -181,6 +178,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H +/* have TQt with OpenGL support */ +#undef HAVE_TQGLWIDGET + /* have TunePimp */ #undef HAVE_TUNEPIMP