summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruid56437 <none@none>2001-07-04 14:15:10 +0000
committeruid56437 <none@none>2001-07-04 14:15:10 +0000
commitc8d64e87f29e42dc2f6f0068e575dd10188999af (patch)
treee7b2df4fd77d31cccfb4f78254d1ee78ad9cb7c2
parentddc0489a65529c49aee950a8e5449c727da1413f (diff)
downloadxine-lib-c8d64e87f29e42dc2f6f0068e575dd10188999af.tar.gz
xine-lib-c8d64e87f29e42dc2f6f0068e575dd10188999af.tar.bz2
configure and README updates for solaris
CVS patchset: 249 CVS date: 2001/07/04 14:15:10
-rw-r--r--configure.in12
-rw-r--r--doc/README.solaris14
2 files changed, 18 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index 10d650281..f76a70bac 100644
--- a/configure.in
+++ b/configure.in
@@ -88,12 +88,14 @@ AC_SUBST(BUILD_LIB_STATIC)
dnl
dnl Checks for typedefs, structures, and compiler characteristics.
dnl
+AC_C_BIGENDIAN
+dnl AC_C_BIGENDIAN triggers an AC_TRY_RUN warning; we can't cross compile
+dnl xine (oh, well)
AC_C_CONST
AC_C_INLINE
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AM_TYPE_PTRDIFF_T
-dnl AC_C_BIGENDIAN
AC_SUBST(DEBUG_CFLAGS)
AC_SUBST(GLOBAL_CFLAGS)
@@ -146,7 +148,7 @@ if test x$enable_mlib = xyes; then
[ LIBS="$LIBS -L/opt/SUNWmlib/lib -lmlib"
LIBMPEG2_CONFIG_OBJS="$LIBMPEG2_CONFIG_OBJS idct_mlib.lo motion_comp_mlib.lo"
LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -I/opt/SUNWmlib/include"
- AC_DEFINE(HAVE_MLIB)
+ AC_DEFINE(HAVE_MLIB)
AC_DEFINE(LIBMPEG2_MLIB)],
, -L/opt/SUNWmlib/lib)
fi
@@ -394,8 +396,10 @@ case $host in
DEBUG_CFLAGS="$DEBUG_CFLAGS -O3"
;;
sparc-*)
- GLOBAL_CFLAGS="$GLOBAL_CFLAGS -O3"
- DEBUG_CFLAGS="$DEBUG_CFLAGS -O"
+ dnl hard code cpu target as sparcv8, hopefully no one wants to watch
+ dnl mpeg videos on his old SPARCstation2 :-)
+ GLOBAL_CFLAGS="$GLOBAL_CFLAGS -O3 -mcpu=v8 -mtune=ultrasparc -funroll-loops -funroll-all-loops -finline-functions"
+ DEBUG_CFLAGS="$DEBUG_CFLAGS -O -mcpu=v8 -mtune=ultrasparc -funroll-loops -funroll-all-loops -finline-functions"
;;
*) echo "$host is not currently supported by xine"; exit 1;;
esac
diff --git a/doc/README.solaris b/doc/README.solaris
index c5f08575c..020a61085 100644
--- a/doc/README.solaris
+++ b/doc/README.solaris
@@ -1,8 +1,14 @@
building xine on solaris
------------------------
-Compile xine with GNU make (gmake, /opt/sfw/bin/gmake)
+* Compile xine with GNU make (gmake, /opt/sfw/bin/gmake)
-If you get a "fatal: relocation error" ... "symbol __divdi3:
-referenced symbol not found" error when running xine, re-configure
-xine-lib with gcc as the linker command (env LD=gcc configure ...)
+* If you get a "fatal: relocation error" ... "symbol __divdi3:
+ referenced symbol not found" error when running xine, re-configure
+ xine-lib with gcc as the linker command (env LD=gcc configure ...)
+
+* To get VIS accelerated MPEG decoding and colour space conversion
+ on Solaris SPARC, download and install Sun's mediaLib 2.0, available
+ here:
+
+ http://www.sun.com/sparc/vis/mediaLib.html