comparison 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
comparison
equal deleted inserted replaced
19978:f04afca36cf4 19979:0dc175cbeed8
4170 if test "$_caca" = auto ; then 4170 if test "$_caca" = auto ; then
4171 _caca=no 4171 _caca=no
4172 if ( caca-config --version ) >> "$TMPLOG" 2>&1 ; then 4172 if ( caca-config --version ) >> "$TMPLOG" 2>&1 ; then
4173 cat > $TMPC << EOF 4173 cat > $TMPC << EOF
4174 #include <caca.h> 4174 #include <caca.h>
4175 #ifdef CACA_API_VERSION_1
4176 #include <caca0.h>
4177 #endif
4175 int main(void) { (void) caca_init(); return 0; } 4178 int main(void) { (void) caca_init(); return 0; }
4176 EOF 4179 EOF
4177 cc_check `caca-config --libs` && _caca=yes 4180 cc_check `caca-config --libs` && _caca=yes
4178 fi 4181 fi
4179 fi 4182 fi