/[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 2456 by capela, Mon Jul 1 08:57:33 2013 UTC revision 2459 by capela, Mon Jul 8 10:06:57 2013 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.39, rncbc@rncbc.org, qsampler)  AC_INIT(Qsampler, 0.2.2.40, 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)
# Line 87  for X in $ac_with_paths; do Line 87  for X in $ac_with_paths; do
87    if test -d $X/bin; then    if test -d $X/bin; then
88      ac_path="$X/bin:$ac_path"      ac_path="$X/bin:$ac_path"
89    fi    fi
90    if test -x $X/qmake; then  # if test -x $X/qmake; then
91      ac_path="$X:$ac_path"  #   ac_path="$X:$ac_path"
92    fi  # fi
93    if test -d $X/include; then    if test -d $X/include; then
94      for Y in qt qt4; do      for Y in qt qt4; do
95        if test -d $X/include/$Y; then        if test -d $X/include/$Y; then
# Line 113  for X in $ac_with_paths; do Line 113  for X in $ac_with_paths; do
113  done  done
114    
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.4],
117    ac_cv_qtversion, [    ac_cv_qtversion, [
118    AC_TRY_LINK([#include "QtCore/qglobal.h"], [    AC_TRY_LINK([#include "QtCore/qglobal.h"], [
119  #if QT_VERSION < 0x040200  #if QT_VERSION < 0x040400
120  #error Qt library 4.2 or greater required.  #error Qt library 4.4 or greater required.
121  #endif  #endif
122      ], ac_cv_qtversion="yes", [      ], ac_cv_qtversion="yes", [
123        echo "no; Qt 4.2 or greater is required"        echo "no; Qt 4.4 or greater is required"
124        exit        exit
125      ])      ])
126  ])  ])

Legend:
Removed from v.2456  
changed lines
  Added in v.2459

  ViewVC Help
Powered by ViewVC