# HG changeset patch # User reimar # Date 1282925964 0 # Node ID 339f812bb8445d809f2df9771f93acf8cf094434 # Parent 710e01dbd9944e1f676baae4200389e5fc8d9fa9 Fix arts check to actually check linking so it doesn't get enabled when e.g. cross-compiling under Linux for Windows. diff -r 710e01dbd994 -r 339f812bb844 configure --- a/configure Fri Aug 27 14:12:20 2010 +0000 +++ b/configure Fri Aug 27 16:19:24 2010 +0000 @@ -94,6 +94,7 @@ int main(void) { $2; return 0; } EOF shift + shift compile_check $TMPC $@ } @@ -5695,7 +5696,7 @@ 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