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

Diff of /qsampler/trunk/configure.in

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

revision 299 by capela, Wed Nov 17 15:41:58 2004 UTC revision 382 by capela, Mon Feb 14 15:42:38 2005 UTC
# Line 24  fi Line 24  fi
24    
25  dnl Enable libgig availability.  dnl Enable libgig availability.
26  AC_ARG_ENABLE(libgig,  AC_ARG_ENABLE(libgig,
27    [  --enable-libgig         enable libgig (default=no)],    [  --disable-libgig        disable libgig interface (default=no)],
28    [ac_libgig="yes"],    [ac_libgig="no"],
29    [ac_libgig="no"])    [ac_libgig="yes"])
30    
31  dnl Checks for programs.  dnl Checks for programs.
32  AC_PROG_CC  AC_PROG_CC
# Line 130  if test "x$ac_liblscp" = "xno"; then Line 130  if test "x$ac_liblscp" = "xno"; then
130  fi  fi
131  ac_libs="-llscp"  ac_libs="-llscp"
132    
133    AC_CACHE_CHECK([for instrument_name in lscp_channel_info_t],
134      ac_instrument_name, [
135      AC_TRY_COMPILE([#include "lscp/client.h"], [
136            lscp_channel_info_t info;
137            info.instrument_name = 0;
138        ], ac_instrument_name="yes", ac_instrument_name="no")
139    ])
140    if test "x$ac_instrument_name" = "xyes"; then
141       AC_DEFINE(CONFIG_INSTRUMENT_NAME, 1, [Define if instrument_name is available.])
142    fi
143    
144  dnl Check for optional libraries.  dnl Check for optional libraries.
145  if test "x$ac_libgig" = "xyes"; then  if test "x$ac_libgig" = "xyes"; then
146     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 155  AC_SUBST(ac_libs)
155  dnl Checks for header files.  dnl Checks for header files.
156  AC_HEADER_STDC  AC_HEADER_STDC
157  AC_HEADER_SYS_WAIT  AC_HEADER_SYS_WAIT
158  AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h)  AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h signal.h)
159    
160  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"])
161  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 171  AC_CHECK_FUNCS(system)
171  dnl Finally produce a configure header file and the makefiles.  dnl Finally produce a configure header file and the makefiles.
172  AC_OUTPUT(Makefile qsampler.pro)  AC_OUTPUT(Makefile qsampler.pro)
173    
174  make clean > /dev/null 2>&1  dnl make clean > /dev/null 2>&1
175    
176  echo ""  echo ""
177  echo "Now type 'make', followed by 'make install' as root."  echo "Now type 'make', followed by 'make install' as root."

Legend:
Removed from v.299  
changed lines
  Added in v.382

  ViewVC Help
Powered by ViewVC