--- qsampler/trunk/configure.ac 2015/10/03 15:48:18 2848 +++ qsampler/trunk/configure.ac 2015/10/13 11:19:50 2849 @@ -1,5 +1,5 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(Qsampler, 0.3.1.8, rncbc@rncbc.org, qsampler) +AC_INIT(Qsampler, 0.3.1.9, rncbc@rncbc.org, qsampler) AC_CONFIG_SRCDIR(src/qsampler.cpp) AC_CONFIG_HEADERS(src/config.h) @@ -213,7 +213,7 @@ if test "x$ac_qt4" = "xyes"; then AC_CACHE_CHECK([for Qt library version >= 4.4], ac_cv_qtversion, [ - AC_TRY_LINK([#include "QtCore/qglobal.h"], [ + AC_TRY_COMPILE([#include "QtCore/qglobal.h"], [ #if QT_VERSION < 0x040400 || QT_VERSION >= 0x050000 #error Qt library 4.4 or greater required. #endif @@ -227,7 +227,7 @@ if test "x$ac_qt5" = "xyes"; then AC_CACHE_CHECK([for Qt library version >= 5.1], ac_cv_qtversion, [ - AC_TRY_LINK([#include "QtCore/qglobal.h"], [ + AC_TRY_COMPILE([#include "QtCore/qglobal.h"], [ #if QT_VERSION < 0x050100 || QT_VERSION >= 0x060000 #error Qt library 5.1 or greater required. #endif