mirror of https://github.com/mpv-player/mpv
fixed arts detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6228 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1c8edbae33
commit
a7a603d298
|
@ -2680,7 +2680,13 @@ echocheck "aRts"
|
|||
if test "$_arts" = auto ; then
|
||||
_arts=no
|
||||
if ( artsc-config --version ) >> "$TMPLOG" 2>&1 ; then
|
||||
_arts=yes
|
||||
|
||||
cat > $TMPC << EOF
|
||||
#include <artsc.h>
|
||||
int main(void) { return 0; }
|
||||
EOF
|
||||
cc_check `artsc-config --libs` `artsc-config --cflags` && ( "$TMPO" >> "$TMPLOG" 2>&1 ) && _arts=yes
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue