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"]) |
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." |