diff configure @ 19979:0dc175cbeed8

vo_caca: use the pre-1.x compatibility layer so recent versions of libcaca still work.
author corey
date Tue, 26 Sep 2006 23:43:21 +0000
parents 2ce14efa8917
children be7b8a83649c
line wrap: on
line diff
--- a/configure	Tue Sep 26 21:10:50 2006 +0000
+++ b/configure	Tue Sep 26 23:43:21 2006 +0000
@@ -4172,6 +4172,9 @@
   if ( caca-config --version ) >> "$TMPLOG" 2>&1 ; then
   cat > $TMPC << EOF
 #include <caca.h>
+#ifdef CACA_API_VERSION_1
+  #include <caca0.h>
+#endif
 int main(void) { (void) caca_init(); return 0; }
 EOF
   cc_check `caca-config --libs` && _caca=yes