/[svn]/qsampler/trunk/configure.ac
ViewVC logotype

Diff of /qsampler/trunk/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2065 by capela, Sat Mar 13 12:44:15 2010 UTC revision 2108 by capela, Thu Jul 15 08:03:32 2010 UTC
# Line 1  Line 1 
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.13, rncbc@rncbc.org, qsampler)  AC_INIT(Qsampler, 0.2.2.25, rncbc@rncbc.org, qsampler)
3    
4  AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui)  AC_CONFIG_SRCDIR(src/qsampler.cpp)
5  AC_CONFIG_HEADERS(config.h)  AC_CONFIG_HEADERS(src/config.h)
6  AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec qsampler.desktop)  AC_CONFIG_FILES(Makefile qsampler.spec src/src.pri src/qsampler.desktop)
7    
8  # Set default installation prefix.  # Set default installation prefix.
9  AC_PREFIX_DEFAULT(/usr/local)  AC_PREFIX_DEFAULT(/usr/local)
# Line 111  for X in $ac_with_paths; do Line 111  for X in $ac_with_paths; do
111  done  done
112    
113  # Check for proper Qt version.  # Check for proper Qt version.
114  AC_CACHE_CHECK([for Qt library version >= 4.1],  AC_CACHE_CHECK([for Qt library version >= 4.2],
115    ac_cv_qtversion, [    ac_cv_qtversion, [
116    AC_TRY_LINK([#include "Qt/qglobal.h"], [    AC_TRY_LINK([#include "Qt/qglobal.h"], [
117  #if QT_VERSION < 0x040100  #if QT_VERSION < 0x040200
118  #error Qt library 4.1 or greater required.  #error Qt library 4.2 or greater required.
119  #endif  #endif
120      ], ac_cv_qtversion="yes", [      ], ac_cv_qtversion="yes", [
121        echo "no; Qt 4.1 or greater is required"        echo "no; Qt 4.2 or greater is required"
122        exit        exit
123      ])      ])
124  ])  ])

Legend:
Removed from v.2065  
changed lines
  Added in v.2108

  ViewVC Help
Powered by ViewVC