diff options
-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)" |