From 04b8751a5caa87b7a4661ad89f9fef846b431f1f Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 27 Aug 2010 16:19:24 +0000 Subject: 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 --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 7e883cc59d..beeaba996e 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3