summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/gr_qwt.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config/gr_qwt.m4 b/config/gr_qwt.m4
index 8f4957aff..86afab145 100644
--- a/config/gr_qwt.m4
+++ b/config/gr_qwt.m4
@@ -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])]
)