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.2.31, rncbc@rncbc.org, qsampler) |
AC_INIT(Qsampler, 0.2.2.37, 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) |
115 |
# Check for proper Qt version. |
# Check for proper Qt version. |
116 |
AC_CACHE_CHECK([for Qt library version >= 4.2], |
AC_CACHE_CHECK([for Qt library version >= 4.2], |
117 |
ac_cv_qtversion, [ |
ac_cv_qtversion, [ |
118 |
AC_TRY_LINK([#include "Qt/qglobal.h"], [ |
AC_TRY_LINK([#include "QtCore/qglobal.h"], [ |
119 |
#if QT_VERSION < 0x040200 |
#if QT_VERSION < 0x040200 |
120 |
#error Qt library 4.2 or greater required. |
#error Qt library 4.2 or greater required. |
121 |
#endif |
#endif |