/[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 2459 by capela, Mon Jul 8 10:06:57 2013 UTC revision 2480 by capela, Fri Nov 1 17:44:30 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.40, rncbc@rncbc.org, qsampler)  AC_INIT(Qsampler, 0.2.2.41, 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 47  ac_with_paths="/usr /usr/local" Line 47  ac_with_paths="/usr /usr/local"
47    
48  # Some a-la-debian alternatives...  # Some a-la-debian alternatives...
49  for X in /usr/lib /usr/lib64 /usr/share; do  for X in /usr/lib /usr/lib64 /usr/share; do
50    for Y in qt qt4; do    for Y in qt qt4 qt5; do
51      if test -d $X/$Y/bin; then      if test -d $X/$Y/bin; then
52        ac_with_paths="$ac_with_paths $X/$Y"        ac_with_paths="$ac_with_paths $X/$Y"
53      fi      fi
# Line 91  for X in $ac_with_paths; do Line 91  for X in $ac_with_paths; do
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 qt5; do
95        if test -d $X/include/$Y; then        if test -d $X/include/$Y; then
96          CFLAGS="-I$X/include/$Y $CFLAGS"          CFLAGS="-I$X/include/$Y $CFLAGS"
97          CPPFLAGS="-I$X/include/$Y $CPPFLAGS"          CPPFLAGS="-I$X/include/$Y $CPPFLAGS"
# Line 112  for X in $ac_with_paths; do Line 112  for X in $ac_with_paths; do
112    fi    fi
113  done  done
114    
115    # Check for proper flags.
116    ac_arch=`uname -m`
117    if test "$ac_arch" == "x86_64"; then
118       CFLAGS="-fPIC $CFLAGS"
119       CPPFLAGS="-fPIC $CPPFLAGS"
120    fi
121    
122  # Check for proper Qt version.  # Check for proper Qt version.
123  AC_CACHE_CHECK([for Qt library version >= 4.4],  AC_CACHE_CHECK([for Qt library version >= 4.4],
124    ac_cv_qtversion, [    ac_cv_qtversion, [

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

  ViewVC Help
Powered by ViewVC