/[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 255 by capela, Tue Sep 28 16:17:43 2004 UTC revision 340 by capela, Fri Jan 14 10:40:47 2005 UTC
# Line 22  if test "x$ac_debug" = "xdebug"; then Line 22  if test "x$ac_debug" = "xdebug"; then
22     AC_DEFINE(CONFIG_DEBUG, 1, [Define if debugging is enabled.])     AC_DEFINE(CONFIG_DEBUG, 1, [Define if debugging is enabled.])
23  fi  fi
24    
25    dnl Enable libgig availability.
26    AC_ARG_ENABLE(libgig,
27      [  --disable-libgig        disable libgig interface (default=no)],
28      [ac_libgig="no"],
29      [ac_libgig="yes"])
30    
31  dnl Checks for programs.  dnl Checks for programs.
32  AC_PROG_CC  AC_PROG_CC
33  AC_PROG_CPP  AC_PROG_CPP
# Line 111  AC_CHECK_LIB(X11, main) Line 117  AC_CHECK_LIB(X11, main)
117  AC_CHECK_LIB(Xext, main)  AC_CHECK_LIB(Xext, main)
118  AC_CHECK_LIB($ac_qtlib, main)  AC_CHECK_LIB($ac_qtlib, main)
119    
120    dnl Check for round math function.
121    AC_CHECK_LIB(m, round, [ac_round="yes"], [ac_round="no"])
122    if test "x$ac_round" = "xyes"; then
123       AC_DEFINE(CONFIG_ROUND, 1, [Define if round is available.])
124    fi
125    
126    dnl Check for mandatory libraries.
127  AC_CHECK_LIB(lscp, main, [ac_liblscp="yes"], [ac_liblscp="no"])  AC_CHECK_LIB(lscp, main, [ac_liblscp="yes"], [ac_liblscp="no"])
128  if test "x$ac_liblscp" = "xno"; then  if test "x$ac_liblscp" = "xno"; then
129     AC_MSG_ERROR([LSCP library not found.])     AC_MSG_ERROR([LSCP library not found.])
130  fi  fi
131    ac_libs="-llscp"
132    
133  AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"])  dnl Check for optional libraries.
134  if test "x$ac_libgig" = "xyes"; then  if test "x$ac_libgig" = "xyes"; then
135     AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.])     AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"])
136       if test "x$ac_libgig" = "xyes"; then
137          AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.])
138          ac_libs="-lgig $ac_libs"
139       fi
140  fi  fi
141    
142  dnl Check for round math function.  AC_SUBST(ac_libs)
 AC_CHECK_LIB(m, round, [ac_round="yes"], [ac_round="no"])  
 if test "x$ac_round" = "xyes"; then  
    AC_DEFINE(CONFIG_ROUND, 1, [Define if round is available.])  
 fi  
143    
144  dnl Checks for header files.  dnl Checks for header files.
145  AC_HEADER_STDC  AC_HEADER_STDC
146  AC_HEADER_SYS_WAIT  AC_HEADER_SYS_WAIT
147  AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h)  AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h signal.h)
148    
149  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"])
150  dnl if test "x$ac_lscp_h" = "xno"; then  dnl if test "x$ac_lscp_h" = "xno"; then

Legend:
Removed from v.255  
changed lines
  Added in v.340

  ViewVC Help
Powered by ViewVC