/[svn]/qsampler/tags/qsampler_0_1_2/configure.in
ViewVC logotype

Diff of /qsampler/tags/qsampler_0_1_2/configure.in

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

revision 303 by capela, Fri Nov 19 10:18:59 2004 UTC revision 559 by capela, Sat May 21 11:21:21 2005 UTC
# Line 53  AC_CACHE_CHECK([for Qt library], Line 53  AC_CACHE_CHECK([for Qt library],
53    ac_qtlib, [    ac_qtlib, [
54    for X in qt-mt qt; do    for X in qt-mt qt; do
55      if test "x$ac_qtlib" = "x"; then      if test "x$ac_qtlib" = "x"; then
56        if test -f $QTDIR/lib/lib$X.so -o -f $QTDIR/lib/lib$X.a; then        if test -f $QTDIR/lib/lib$X.so -o -f $QTDIR/lib/lib$X.a \
57               -o -f $QTDIR/lib/lib$X.la -o -f $QTDIR/lib/lib$X.dylib; then
58          ac_qtlib=$X          ac_qtlib=$X
59        fi        fi
60      fi      fi
# Line 70  if test "x$ac_qtlib" = "xqt-mt"; then Line 71  if test "x$ac_qtlib" = "xqt-mt"; then
71  fi  fi
72  AC_SUBST(ac_thread)  AC_SUBST(ac_thread)
73    
74  CFLAGS="$CFLAGS -I$QTDIR/include"  CFLAGS="$CFLAGS -I$QTDIR/include -I$QTDIR/include/qt"
75  CPPFLAGS="$CPPFLAGS -I$QTDIR/include"  CPPFLAGS="$CPPFLAGS -I$QTDIR/include -I$QTDIR/include/qt"
76  LIBS="-L$QTDIR/lib -L/usr/X11R6/lib"  LIBS="-L$QTDIR/lib"
77    
78  AC_CACHE_CHECK([for Qt library version >= 3.1.1],  AC_CACHE_CHECK([for Qt library version >= 3.1.1],
79    ac_qtlib_version, [    ac_qtlib_version, [
# Line 130  if test "x$ac_liblscp" = "xno"; then Line 131  if test "x$ac_liblscp" = "xno"; then
131  fi  fi
132  ac_libs="-llscp"  ac_libs="-llscp"
133    
134    AC_CACHE_CHECK([for instrument_name in lscp_channel_info_t],
135      ac_instrument_name, [
136      AC_TRY_COMPILE([#include "lscp/client.h"], [
137            lscp_channel_info_t info;
138            info.instrument_name = 0;
139        ], ac_instrument_name="yes", ac_instrument_name="no")
140    ])
141    if test "x$ac_instrument_name" = "xyes"; then
142       AC_DEFINE(CONFIG_INSTRUMENT_NAME, 1, [Define if instrument_name is available.])
143    fi
144    
145  dnl Check for optional libraries.  dnl Check for optional libraries.
146  if test "x$ac_libgig" = "xyes"; then  if test "x$ac_libgig" = "xyes"; then
147     AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"])     AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"])
# Line 144  AC_SUBST(ac_libs) Line 156  AC_SUBST(ac_libs)
156  dnl Checks for header files.  dnl Checks for header files.
157  AC_HEADER_STDC  AC_HEADER_STDC
158  AC_HEADER_SYS_WAIT  AC_HEADER_SYS_WAIT
159  AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h)  AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h signal.h)
160    
161  dnl AC_CHECK_HEADER(lscp/client.h, [ac_lscp_h="yes"], [ac_lscp_h="no"])  dnl AC_CHECK_HEADER(lscp/client.h, [ac_lscp_h="yes"], [ac_lscp_h="no"])
162  dnl if test "x$ac_lscp_h" = "xno"; then  dnl if test "x$ac_lscp_h" = "xno"; then
# Line 160  AC_CHECK_FUNCS(system) Line 172  AC_CHECK_FUNCS(system)
172  dnl Finally produce a configure header file and the makefiles.  dnl Finally produce a configure header file and the makefiles.
173  AC_OUTPUT(Makefile qsampler.pro)  AC_OUTPUT(Makefile qsampler.pro)
174    
175  make clean > /dev/null 2>&1  dnl make clean > /dev/null 2>&1
176    
177  echo ""  echo ""
178  echo "Now type 'make', followed by 'make install' as root."  echo "Now type 'make', followed by 'make install' as root."

Legend:
Removed from v.303  
changed lines
  Added in v.559

  ViewVC Help
Powered by ViewVC