Mercurial > mplayer.hg
changeset 12201:aff28f68dbc8
Make caca detection consistent with the others using *-config, also avoids
an ugly error message when caca-config is not installed.
author | diego |
---|---|
date | Tue, 13 Apr 2004 21:40:04 +0000 |
parents | cbde6609f1f9 |
children | cb69628a2dfe |
files | configure |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Tue Apr 13 20:08:45 2004 +0000 +++ b/configure Tue Apr 13 21:40:04 2004 +0000 @@ -3313,14 +3313,17 @@ 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'