GNOME Bugzilla – Bug 384587
libcaca check breaks cross-compile
Last modified: 2006-12-16 11:43:22 UTC
The check for libcaca simply looks for the existence of a /usr/bin/caca-config file, which is not sufficient to test that anything can actually be built. dnl *** libcaca *** translit(dnm, m, l) AM_CONDITIONAL(USE_LIBCACA, true) GST_CHECK_FEATURE(LIBCACA, [libcaca coloured ASCII art], cacasink, [ GST_CHECK_CONFIGPROG(LIBCACA, caca-config) AC_SUBST(LIBCACA_CFLAGS) AC_SUBST(LIBCACA_LIBS) ]) The check should use the caca-config stuff to try and build something.
Or just switch over to using the pkg-config file, caca.pc.
This should fix it I think: 2006-12-16 Tim-Philipp Müller <tim at centricular dot net> * configure.ac: Make sure libcaca can actually be used instead of just checking for /usr/bin/caca-config, so we don't wrongly try to build cacasink when cross-compiling (fixes #384587).