diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-08-27 16:19:24 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:15:49 +0200 |
commit | 04b8751a5caa87b7a4661ad89f9fef846b431f1f (patch) | |
tree | a903933edf5d9759b4b7cba2b22ec1e4b98df081 | |
parent | 26fb47e54c1e3fdcf763b6ba6696413854c8c116 (diff) | |
download | mpv-04b8751a5caa87b7a4661ad89f9fef846b431f1f.tar.bz2 mpv-04b8751a5caa87b7a4661ad89f9fef846b431f1f.tar.xz |
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
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -94,6 +94,7 @@ function_check() { 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 |