/[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 2116 by capela, Mon Aug 23 13:08:28 2010 UTC revision 2144 by persson, Wed Oct 6 18:49:54 2010 UTC
# Line 41  AC_ARG_ENABLE(stacktrace, Line 41  AC_ARG_ENABLE(stacktrace,
41    [ac_stacktrace="$enableval"])    [ac_stacktrace="$enableval"])
42    
43    
44    if test "$cross_compiling" != yes; then
45  # Standard installation base dirs.  # Standard installation base dirs.
46  ac_with_paths="/usr /usr/local"  ac_with_paths="/usr /usr/local"
47    
# Line 52  for X in /usr/lib /usr/lib64 /usr/share; Line 53  for X in /usr/lib /usr/lib64 /usr/share;
53      fi      fi
54    done    done
55  done  done
56    fi
57    
58  # Set for alternate Qt installation dir.  # Set for alternate Qt installation dir.
59  AC_ARG_WITH(qt,  AC_ARG_WITH(qt,
# Line 178  if test "x$ac_liblscp" = "xno"; then Line 180  if test "x$ac_liblscp" = "xno"; then
180     AC_MSG_ERROR([LSCP library not found.])     AC_MSG_ERROR([LSCP library not found.])
181  fi  fi
182  ac_libs="$ac_libs -llscp"  ac_libs="$ac_libs -llscp"
183    case "{$host}" in
184         *mingw*)
185         ac_libs="$ac_libs -lws2_32"
186         LIBS="$LIBS -lws2_32"
187         ;;
188    esac
189    
190  AC_CACHE_CHECK([for instrument_name in lscp_channel_info_t],  AC_CACHE_CHECK([for instrument_name in lscp_channel_info_t],
191    ac_cv_instrument_name, [    ac_cv_instrument_name, [
# Line 302  if test "x$ac_libgig" = "xyes"; then Line 310  if test "x$ac_libgig" = "xyes"; then
310        AC_LANG_SAVE        AC_LANG_SAVE
311        AC_LANG_CPLUSPLUS        AC_LANG_CPLUSPLUS
312        CXXFLAGS="$ac_libs"        CXXFLAGS="$ac_libs"
313        AC_TRY_RUN([        AC_TRY_COMPILE([
314  #include <stdlib.h>  #include <stdlib.h>
315  #include <gig.h>  #include <gig.h>
316  int main() {        ],[
317      gig::File file;      gig::File file;
318      file.SetAutoLoad(false);      file.SetAutoLoad(false);
     exit(0);  
 }  
319        ],        ],
320        have_libgig_setautoload="yes",        have_libgig_setautoload="yes",
       have_libgig_setautoload="no",  
321        have_libgig_setautoload="no"        have_libgig_setautoload="no"
322        )        )
323        AC_LANG_RESTORE        AC_LANG_RESTORE
# Line 335  if test "x$ac_stacktrace" = "xyes"; then Line 340  if test "x$ac_stacktrace" = "xyes"; then
340  fi  fi
341    
342  # Some recent distros (eg. fedora, debian) require this.  # Some recent distros (eg. fedora, debian) require this.
343  ac_libs="$ac_libs -lX11"  if test "x$ac_cv_lib_X11_main" = "xyes"; then
344       ac_libs="$ac_libs -lX11"
345    fi
346    
347  AC_SUBST(ac_libs)  AC_SUBST(ac_libs)
348  AC_SUBST(ac_incpath)  AC_SUBST(ac_incpath)
# Line 343  AC_SUBST(ac_incpath) Line 350  AC_SUBST(ac_incpath)
350  # Checks for header files.  # Checks for header files.
351  AC_HEADER_STDC  AC_HEADER_STDC
352  AC_HEADER_SYS_WAIT  AC_HEADER_SYS_WAIT
353  AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h signal.h)  AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h signal.h sys/socket.h)
354    
355  AC_CHECK_HEADER(lscp/client.h, [ac_lscp_h="yes"], [ac_lscp_h="no"])  AC_CHECK_HEADER(lscp/client.h, [ac_lscp_h="yes"], [ac_lscp_h="no"])
356  if test "x$ac_lscp_h" = "xno"; then  if test "x$ac_lscp_h" = "xno"; then

Legend:
Removed from v.2116  
changed lines
  Added in v.2144

  ViewVC Help
Powered by ViewVC