translit(dnm, m, l) AM_CONDITIONAL(USE_LIBCACA, true)
AG_GST_CHECK_FEATURE(LIBCACA, [libcaca coloured ASCII art], cacasink, [
AG_GST_PKG_CHECK_MODULES(LIBCACA, caca)
- dnl only newer versions of libcaca ship caca.pc, so try caca-config as well
- if test "x$HAVE_LIBCACA" != "xyes"; then
- AG_GST_CHECK_CONFIGPROG(LIBCACA, caca-config)
- dnl see if it compilation works too, might not if we are cross-compiling
- if test "x$HAVE_LIBCACA" = "xyes"; then
- AC_CHECK_LIB([caca], [caca_init], [HAVE_LIBCACA=yes],
- [HAVE_LIBCACA=no], [$LIBCACA_LIBS])
- fi
- fi
])
dnl *** libdv ***