From 20ef0d453a69660f0515140e68e91a2cf4787f62 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 29 May 2002 22:53:44 +0000 Subject: Compile PPC files only on PPC arch. CVS patchset: 1967 CVS date: 2002/05/29 22:53:44 --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.in') 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], -- cgit v1.2.3