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.2.3.11, rncbc@rncbc.org, qsampler) |
AC_INIT(Qsampler, 0.2.3.12, rncbc@rncbc.org, qsampler) |
3 |
|
|
4 |
AC_CONFIG_SRCDIR(src/qsampler.cpp) |
AC_CONFIG_SRCDIR(src/qsampler.cpp) |
5 |
AC_CONFIG_HEADERS(src/config.h) |
AC_CONFIG_HEADERS(src/config.h) |
355 |
# Check for optional libraries. |
# Check for optional libraries. |
356 |
if test "x$ac_libgig" = "xyes"; then |
if test "x$ac_libgig" = "xyes"; then |
357 |
PKG_CHECK_MODULES(LIBGIG, gig >= 3.3.0, [ac_libgig="yes"], [ac_libgig="no"]) |
PKG_CHECK_MODULES(LIBGIG, gig >= 3.3.0, [ac_libgig="yes"], [ac_libgig="no"]) |
|
AC_SUBST(LIBGIG_CFLAGS) |
|
|
AC_SUBST(LIBGIG_LIBS) |
|
|
ac_cflags="$ac_cflags $LIBGIG_CFLAGS" |
|
|
ac_libs="$ac_libs $LIBGIG_LIBS" |
|
358 |
if test "x$ac_libgig" = "xyes"; then |
if test "x$ac_libgig" = "xyes"; then |
359 |
AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.]) |
AC_DEFINE(CONFIG_LIBGIG, 1, [Define if libgig is available.]) |
360 |
|
AC_SUBST(LIBGIG_CFLAGS) |
361 |
|
AC_SUBST(LIBGIG_LIBS) |
362 |
|
ac_cflags="$ac_cflags $LIBGIG_CFLAGS" |
363 |
|
ac_libs="$ac_libs $LIBGIG_LIBS" |
364 |
|
CFLAGS="$ac_cflags" |
365 |
|
CPPFLAGS="$ac_cflags" |
366 |
AC_DEFINE(CONFIG_LIBGIG_SETAUTOLOAD, 1, [Define if libgig provides gig::File::SetAutoLoad() method.]) |
AC_DEFINE(CONFIG_LIBGIG_SETAUTOLOAD, 1, [Define if libgig provides gig::File::SetAutoLoad() method.]) |
367 |
ac_libgig_setautoload="yes" |
ac_libgig_setautoload="yes" |
368 |
fi |
fi |
400 |
fi |
fi |
401 |
|
|
402 |
if test "x$ac_libgig" = "xyes"; then |
if test "x$ac_libgig" = "xyes"; then |
403 |
AC_CHECK_HEADER(SF.h, [ac_libgig_sf2="yes"], [ac_libgig_sf2="no"]) |
AC_CHECK_HEADER(libgig/SF.h, [ac_libgig_sf2="yes"], [ac_libgig_sf2="no"]) |
404 |
if test "x$ac_libgig_sf2" = "xyes"; then |
if test "x$ac_libgig_sf2" = "xyes"; then |
405 |
AC_DEFINE(CONFIG_LIBGIG_SF2, 1, [Define if libgig SF.h is available.]) |
AC_DEFINE(CONFIG_LIBGIG_SF2, 1, [Define if libgig/SF.h is available.]) |
406 |
fi |
fi |
407 |
fi |
fi |
408 |
|
|