mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 22:01:10 +00:00
configure: make libarts check verify linking
Fix arts check to actually check linking so it doesn't get enabled when e.g. cross-compiling under Linux for Windows. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32024 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
26fb47e54c
commit
04b8751a5c
3
configure
vendored
3
configure
vendored
@ -93,6 +93,7 @@ function_check() {
|
||||
#include <$1>
|
||||
int main(void) { $2; return 0; }
|
||||
EOF
|
||||
shift
|
||||
shift
|
||||
compile_check $TMPC $@
|
||||
}
|
||||
@ -5392,7 +5393,7 @@ echocheck "aRts"
|
||||
if test "$_arts" = auto ; then
|
||||
_arts=no
|
||||
if ( artsc-config --version ) >> "$TMPLOG" 2>&1 ; then
|
||||
header_check artsc.h $(artsc-config --libs) $(artsc-config --cflags) &&
|
||||
function_check artsc.h "arts_init()" $(artsc-config --libs) $(artsc-config --cflags) &&
|
||||
_arts=yes
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user