summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-01-31 21:59:09 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-01-31 21:59:09 +0000
commitcac87d48e944b7500e9baadfaac2c38a6ab78134 (patch)
tree9807894ddd3309735e989dcd4426807e6ab40717
parentc2914c5da7e57956248ceed7bf30700639eed966 (diff)
downloadxine-lib-cac87d48e944b7500e9baadfaac2c38a6ab78134.tar.gz
xine-lib-cac87d48e944b7500e9baadfaac2c38a6ab78134.tar.bz2
build DXR3 stuff only on x86 Linux
CVS patchset: 4073 CVS date: 2003/01/31 21:59:09
-rw-r--r--configure.ac28
1 files changed, 19 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index b961735ce..fc8190bcf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -494,15 +494,25 @@ AM_CONDITIONAL(HAVE_SDL, [test x"$no_sdl" != x"yes"])
dnl ---------------------------------------------
dnl dxr3 / hollywood plus card
dnl ---------------------------------------------
-AC_CHECK_DXR3()
-if test x"$have_libfame" = "xyes" ; then
- AC_DEFINE_UNQUOTED(HAVE_LIBFAME,1,[Define this if you have libfame mpeg encoder installed (fame.sf.net)])
- AM_PATH_LIBFAME(0.8.10,
- AC_DEFINE(HAVE_NEW_LIBFAME,1,[Define this if you have libfame 0.8.10 or above]))
-fi
-if test x"$have_librte" = "xyes" ; then
- AC_DEFINE_UNQUOTED(HAVE_LIBRTE,1,[Define this if you have librte mpeg encoder installed (zapping.sf.net)])
-fi
+case "$host_or_hostalias" in
+ i?86-*-linux* | k?-*-linux* | athlon*-*-linux* | pentium*-*-linux* )
+ AC_CHECK_DXR3()
+ if test x"$have_libfame" = "xyes" ; then
+ AC_DEFINE_UNQUOTED(HAVE_LIBFAME,1,[Define this if you have libfame mpeg encoder installed (fame.sf.net)])
+ AM_PATH_LIBFAME(0.8.10,
+ AC_DEFINE(HAVE_NEW_LIBFAME,1,[Define this if you have libfame 0.8.10 or above]))
+ fi
+ if test x"$have_librte" = "xyes" ; then
+ AC_DEFINE_UNQUOTED(HAVE_LIBRTE,1,[Define this if you have librte mpeg encoder installed (zapping.sf.net)])
+ fi
+ ;;
+ *)
+ have_dxr3="no"
+ have_libfame="no"
+ have_librte="no"
+ have_encoder="no"
+ ;;
+esac
AM_CONDITIONAL(HAVE_DXR3, test x"$have_dxr3" = "xyes")
AM_CONDITIONAL(HAVE_LIBFAME, test x"$have_libfame" = "xyes")
AM_CONDITIONAL(HAVE_LIBRTE, test x"$have_librte" = "xyes")