summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-05-29 22:53:44 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2002-05-29 22:53:44 +0000
commit20ef0d453a69660f0515140e68e91a2cf4787f62 (patch)
treef4625072e20e04e105cdd8bf26497427b9b23c97 /configure.in
parentf85b98ad80a232a0497e85673ae6195cceb441b4 (diff)
downloadxine-lib-20ef0d453a69660f0515140e68e91a2cf4787f62.tar.gz
xine-lib-20ef0d453a69660f0515140e68e91a2cf4787f62.tar.bz2
Compile PPC files only on PPC arch.
CVS patchset: 1967 CVS date: 2002/05/29 22:53:44
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 2cad641a6..f64405710 100644
--- a/configure.in
+++ b/configure.in
@@ -312,6 +312,7 @@ case "$host_or_hostalias" in
xv_lib="libXv.so"
fi
;;
+
i386-*-freebsd*)
AC_CHECK_FILE(/usr/local/include/iconv.h,
GICONV_BSD_LIBS="-lgiconv"
@@ -327,12 +328,18 @@ case "$host_or_hostalias" in
echo
],)
;;
+
+ ppc-*-linux* | powerpc-*)
+ ppc_arch="yes"
+ ;;
+
*)
no_BSDiconv="no"
;;
esac
AC_SUBST(GICONV_BSD_LIBS)
AM_CONDITIONAL(HAVE_GICONV, test x$no_BSDiconv != "xyes")
+AM_CONDITIONAL(PPC_ARCH, test x$ppc_arch = "xyes")
AC_ARG_WITH(xv-path,[ --with-xv-path=path Where $xv_lib is installed],