1 |
# Process this file with autoconf to produce a configure script. |
# Process this file with autoconf to produce a configure script. |
2 |
AC_INIT(Qsampler, 0.2.3.20, rncbc@rncbc.org, qsampler) |
AC_INIT(Qsampler, 0.3.0.1, rncbc@rncbc.org, qsampler) |
3 |
|
|
4 |
AC_CONFIG_SRCDIR(src/qsampler.cpp) |
AC_CONFIG_SRCDIR(src/qsampler.cpp) |
5 |
AC_CONFIG_HEADERS(src/config.h) |
AC_CONFIG_HEADERS(src/config.h) |
182 |
AC_CACHE_CHECK([for Qt library version >= 4.4], |
AC_CACHE_CHECK([for Qt library version >= 4.4], |
183 |
ac_cv_qtversion, [ |
ac_cv_qtversion, [ |
184 |
AC_TRY_LINK([#include "QtCore/qglobal.h"], [ |
AC_TRY_LINK([#include "QtCore/qglobal.h"], [ |
185 |
#if QT_VERSION < 0x040400 |
#if QT_VERSION < 0x040400 || QT_VERSION >= 0x050000 |
186 |
#error Qt library 4.4 or greater required. |
#error Qt library 4.4 or greater required. |
187 |
#endif |
#endif |
188 |
], ac_cv_qtversion="yes", [ |
], ac_cv_qtversion="yes", [ |
196 |
AC_CACHE_CHECK([for Qt library version >= 5.1], |
AC_CACHE_CHECK([for Qt library version >= 5.1], |
197 |
ac_cv_qtversion, [ |
ac_cv_qtversion, [ |
198 |
AC_TRY_LINK([#include "QtCore/qglobal.h"], [ |
AC_TRY_LINK([#include "QtCore/qglobal.h"], [ |
199 |
#if QT_VERSION < 0x050100 |
#if QT_VERSION < 0x050100 || QT_VERSION >= 0x060000 |
200 |
#error Qt library 5.1 or greater required. |
#error Qt library 5.1 or greater required. |
201 |
#endif |
#endif |
202 |
], ac_cv_qtversion="yes", [ |
], ac_cv_qtversion="yes", [ |