From b377a75d11ad2cf4cb63a9b7b70d23c3c62e7ee0 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 22 Jul 2005 21:18:56 +0000 Subject: bero's fix for crosscompiling CVS patchset: 7677 CVS date: 2005/07/22 21:18:56 --- m4/arts.m4 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'm4') diff --git a/m4/arts.m4 b/m4/arts.m4 index ee320f32b..b2ea99549 100644 --- a/m4/arts.m4 +++ b/m4/arts.m4 @@ -44,6 +44,12 @@ AC_ARG_ENABLE(artstest, AC_HELP_STRING([--disable-artstest], [do not try to comp CFLAGS="$CFLAGS $ARTS_CFLAGS" LIBS="$LIBS $ARTS_LIBS" dnl +dnl Check if the installed ARTS is actually available -- when cross-compiling, +dnl we have probably detected the build system's version of artsc-config +dnl + AC_CHECK_LIB([artsc], [arts_init], [], [no_arts=yes], [$ARTS_LIBS]) + +dnl dnl Now check if the installed ARTS is sufficiently new. (Also sanity dnl checks the results of artsc-config to some extent) dnl -- cgit v1.2.3