summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-07-22 21:18:56 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2005-07-22 21:18:56 +0000
commitb377a75d11ad2cf4cb63a9b7b70d23c3c62e7ee0 (patch)
treeeea70b80a7cf90c97292fb5d09572bcbe14c6446 /m4
parent2a746d5cd956a8bc632eacac49f8c4aec3c44db3 (diff)
downloadxine-lib-b377a75d11ad2cf4cb63a9b7b70d23c3c62e7ee0.tar.gz
xine-lib-b377a75d11ad2cf4cb63a9b7b70d23c3c62e7ee0.tar.bz2
bero's fix for crosscompiling
CVS patchset: 7677 CVS date: 2005/07/22 21:18:56
Diffstat (limited to 'm4')
-rw-r--r--m4/arts.m46
1 files changed, 6 insertions, 0 deletions
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