changeset 31943:339f812bb844

Fix arts check to actually check linking so it doesn't get enabled when e.g. cross-compiling under Linux for Windows.
author reimar
date Fri, 27 Aug 2010 16:19:24 +0000
parents 710e01dbd994
children 68574c0269e4
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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