1 |
# Process this file with autoconf to produce a configure script. |
# Process this file with autoconf to produce a configure script. |
2 |
AC_INIT(Qsampler, 0.1.4.1, rncbc@rncbc.org, qsampler) |
AC_INIT(Qsampler, 0.1.4.7, rncbc@rncbc.org, qsampler) |
3 |
AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui.h) |
AC_CONFIG_SRCDIR(src/qsamplerMainForm.ui.h) |
4 |
AC_CONFIG_HEADERS(config.h) |
AC_CONFIG_HEADERS(config.h) |
5 |
AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec) |
AC_CONFIG_FILES(Makefile qsampler.pro qsampler.spec qsampler.desktop) |
6 |
|
|
7 |
# Set default installation prefix. |
# Set default installation prefix. |
8 |
AC_PREFIX_DEFAULT(/usr/local) |
AC_PREFIX_DEFAULT(/usr/local) |
240 |
AC_DEFINE(CONFIG_VOLUME, 1, [Define if global volume is available.]) |
AC_DEFINE(CONFIG_VOLUME, 1, [Define if global volume is available.]) |
241 |
fi |
fi |
242 |
|
|
243 |
|
AC_CHECK_LIB(lscp, lscp_edit_instrument, [ac_edit_instrument="yes"], [ac_edit_instrument="no"]) |
244 |
|
if test "x$ac_edit_instrument" = "xyes"; then |
245 |
|
AC_DEFINE(CONFIG_EDIT_INSTRUMENT, 1, [Define if instrument editing is available.]) |
246 |
|
fi |
247 |
|
|
248 |
# Check for optional libraries. |
# Check for optional libraries. |
249 |
if test "x$ac_libgig" = "xyes"; then |
if test "x$ac_libgig" = "xyes"; then |
250 |
AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"]) |
AC_CHECK_LIB(gig, main, [ac_libgig="yes"], [ac_libgig="no"]) |