more gr_qwt.m4 fixes
authoreb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Thu, 15 Mar 2007 22:12:28 +0000 (22:12 +0000)
committereb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>
Thu, 15 Mar 2007 22:12:28 +0000 (22:12 +0000)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4763 221aa14e-8319-0410-a670-987f0aec2ac5

config/gr_qwt.m4

index 8f4957aff194c878b8de1ec6dfb5afc5592768e9..86afab1455daf4293730c074ecfec04c59d87462 100644 (file)
@@ -73,8 +73,8 @@ AC_DEFUN([GR_QWT],
 
     dnl Check that library files can be linked in
     dnl This references an arbitrary static class method 
-    AC_TRY_LINK([#include <qwt/qwt_text.h>],
-               [Qt::TextFormat tf = QwtText::defaultFormat()],
+    AC_TRY_LINK([#include <qwt_text.h>],
+               [QwtTextEngine const *te = QwtText::textEngine(QwtText::AutoText)],
                [],
                 [libqwt_ok=no;AC_MSG_RESULT([unable to link QWT library])]
     )