diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-05-29 22:53:44 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-05-29 22:53:44 +0000 |
commit | 20ef0d453a69660f0515140e68e91a2cf4787f62 (patch) | |
tree | f4625072e20e04e105cdd8bf26497427b9b23c97 | |
parent | f85b98ad80a232a0497e85673ae6195cceb441b4 (diff) | |
download | xine-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
-rw-r--r-- | configure.in | 7 | ||||
-rw-r--r-- | src/xine-utils/Makefile.am | 9 |
2 files changed, 13 insertions, 3 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], diff --git a/src/xine-utils/Makefile.am b/src/xine-utils/Makefile.am index 34546034f..8368b0b1a 100644 --- a/src/xine-utils/Makefile.am +++ b/src/xine-utils/Makefile.am @@ -4,14 +4,17 @@ lib_LTLIBRARIES = libxineutils.la -libxineutils_la_SOURCES = utils.c ppcasm_string.S memcpy.c monitor.c cpu_accel.c xine_mutex.c xmllexer.c xmlparser.c +if PPC_ARCH +pppc_files = ppcasm_string.S +endif + +libxineutils_la_SOURCES = $(pppc_files) utils.c memcpy.c monitor.c cpu_accel.c xine_mutex.c xmllexer.c xmlparser.c libxineutils_la_LDFLAGS = \ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -include_HEADERS = xineutils.h attributes.h compat.h xmllexer.h xmlparser.h - +include_HEADERS = xineutils.h attributes.h compat.h xmllexer.h xmlparser.h ppcasm_string.h debug: @$(MAKE) CFLAGS="$(DEBUG_CFLAGS)" |