Merged r5463:5504 from jcorgan/snd into trunk. Work in progress, adds digital loopbac...
[debian/gnuradio] / 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 
 
     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])]
     )
                [],
                 [libqwt_ok=no;AC_MSG_RESULT([unable to link QWT library])]
     )