mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
Make caca detection consistent with the others using *-config, also avoids
an ugly error message when caca-config is not installed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12202 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4cde4f0910
commit
448c9bbb37
5
configure
vendored
5
configure
vendored
@ -3313,14 +3313,17 @@ else
|
||||
fi
|
||||
echores "$_aa"
|
||||
|
||||
|
||||
echocheck "CACA"
|
||||
if test "$_caca" = auto ; then
|
||||
_caca=no
|
||||
if ( caca-config --version ) >> "$TMPLOG" 2>&1 ; then
|
||||
cat > $TMPC << EOF
|
||||
#include <caca.h>
|
||||
int main(void) { (void) caca_init(); return 0; }
|
||||
EOF
|
||||
_caca=no
|
||||
cc_check `caca-config --libs` && _caca=yes
|
||||
fi
|
||||
fi
|
||||
if test "$_caca" = yes ; then
|
||||
_def_caca='#define HAVE_CACA 1'
|
||||
|
Loading…
Reference in New Issue
Block a user