From 448c9bbb37da6f20ca9ace198952ba4afb3738c0 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 13 Apr 2004 21:40:04 +0000 Subject: 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 --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 8cda6d4b4e..247712157c 100755 --- a/configure +++ b/configure @@ -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 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' -- cgit v1.2.3