summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-10 11:09:32 -0600
committerTimothy Pearson <[email protected]>2012-02-10 11:09:32 -0600
commitdd3b281c57a12f0e4371afdedf1d21d3ef9b65d2 (patch)
tree0b6937124478f0cd5e32849f75af1f0fb59b503e
parent2099f23750a0897fbb64ec2cf29e0b214f4341a9 (diff)
downloadamarok-dd3b281c57a12f0e4371afdedf1d21d3ef9b65d2.tar.gz
amarok-dd3b281c57a12f0e4371afdedf1d21d3ef9b65d2.zip
Fix TQGl detection
-rw-r--r--amarok/configure.in.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/amarok/configure.in.in b/amarok/configure.in.in
index 4d63b1ef..4f5e68be 100644
--- a/amarok/configure.in.in
+++ b/amarok/configure.in.in
@@ -399,15 +399,15 @@ if test "$build_opengl" != "no"; then
save_LIBS="$LIBS"
save_LDFLAGS="$LDFLAGS"
- CXXFLAGS="$CXXFLAGS -I$qt_incdir $all_includes"
+ CXXFLAGS="$CXXFLAGS -I$qt_incdir -I/usr/include/tqt $all_includes"
LDFLAGS="$LDFLAGS -L$qt_libdir $all_libraries $USER_LDFLAGS $KDE_MT_LDFLAGS"
LIBS="$LIBS $LIBQT $KDE_MT_LIBS"
AC_TRY_LINK([
- #include <qgl.h>
+ #include <tqgl.h>
],
[
- (void)new QGLWidget((QWidget*)0, "qgl");
+ (void)new TQGLWidget((TQWidget*)0, "qgl");
],
ac_cv_kde_qt_has_opengl=yes,
ac_cv_kde_qt_has_opengl=no)