|
|
@ -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=""
|
|
|
|