More work porting to PPC. libs/winloader is disabled on PPC - I doubt this can be made to work.

Original commit message from CVS:
More work porting to PPC.
libs/winloader is disabled on PPC - I doubt this can be made to work.
libs/videoscale and libs/idct are also disabled - they should be fixable
though.

Sorted out most of the plugins - avi is disabled for now on PPC;
can be worked on later if there's any chance of getting it to work.

Also provide an automake conditional for compiling vorbis, based on a
configure test for the needed libraries: currently the test isn't
implemented and defaults to "no" so you'll have to fiddle it to compile
vorbis.  I shall get hold of vorbis and implement an appropriate test some
other time (if noone else beats me to it).
This commit is contained in:
Richard Boulton 2000-09-16 23:11:05 +00:00
parent ac036272b9
commit 5a7cbafdda
3 changed files with 19 additions and 3 deletions

View file

@ -10,6 +10,7 @@
#undef HAVE_LIBMMX #undef HAVE_LIBMMX
#undef HAVE_XAUDIO #undef HAVE_XAUDIO
#undef HAVE_CSSAUTH #undef HAVE_CSSAUTH
#undef HAVE_VORBIS
#undef HAVE_NASM #undef HAVE_NASM
#undef HAVE_ATOMIC_H #undef HAVE_ATOMIC_H

View file

@ -44,9 +44,10 @@ dnl ##############################
dnl # Do automated configuration # dnl # Do automated configuration #
dnl ############################## dnl ##############################
dnl Set up conditionals for (target) host type: dnl Set up conditionals for (target) architecture:
dnl =========================================== dnl ==============================================
dnl Determine CPU
case "x${target_cpu}" in case "x${target_cpu}" in
xi?86) HAVE_CPU_I386=yes ; xi?86) HAVE_CPU_I386=yes ;
AC_DEFINE(HAVE_CPU_I386) ;; AC_DEFINE(HAVE_CPU_I386) ;;
@ -54,6 +55,8 @@ case "x${target_cpu}" in
AC_DEFINE(HAVE_CPU_PPC) ;; AC_DEFINE(HAVE_CPU_PPC) ;;
esac esac
dnl Determine endianness
AC_C_BIGENDIAN
dnl Check for tools: dnl Check for tools:
dnl ================ dnl ================
@ -231,6 +234,11 @@ else
HAVE_CSSAUTH="no" HAVE_CSSAUTH="no"
fi fi
dnl check for libvorbis
AC_MSG_CHECKING(Vorbis library)
AC_MSG_RESULT(... check not implemented !! FIXME)
HAVE_VORBIS="no"
dnl check for gtkdoc dnl check for gtkdoc
AC_CHECK_PROG(HAVE_GTK_DOC, gtkdoc-mkdb, true, false) AC_CHECK_PROG(HAVE_GTK_DOC, gtkdoc-mkdb, true, false)
@ -353,6 +361,7 @@ AM_CONDITIONAL(HAVE_LIBMMX, test "x$USE_LIBMMX" = "xyes")
AM_CONDITIONAL(HAVE_ATOMIC_H, test "x$USE_ATOMIC_H" = "xyes") AM_CONDITIONAL(HAVE_ATOMIC_H, test "x$USE_ATOMIC_H" = "xyes")
AM_CONDITIONAL(HAVE_XAUDIO, test "x$HAVE_XAUDIO" = "xyes") AM_CONDITIONAL(HAVE_XAUDIO, test "x$HAVE_XAUDIO" = "xyes")
AM_CONDITIONAL(HAVE_CSSAUTH, test "x$HAVE_CSSAUTH" = "xyes") AM_CONDITIONAL(HAVE_CSSAUTH, test "x$HAVE_CSSAUTH" = "xyes")
AM_CONDITIONAL(HAVE_VORBIS, test "x$HAVE_VORBIS" = "xyes")
AM_CONDITIONAL(HAVE_NASM, test "x$HAVE_NASM" = "xyes") AM_CONDITIONAL(HAVE_NASM, test "x$HAVE_NASM" = "xyes")
AM_CONDITIONAL(HAVE_LIBGLADE_GNOME, test "x$HAVE_LIBGLADE_GNOME" = "xyes") AM_CONDITIONAL(HAVE_LIBGLADE_GNOME, test "x$HAVE_LIBGLADE_GNOME" = "xyes")
AM_CONDITIONAL(HAVE_LIBXV, test "x$HAVE_LIBXV" = "xyes") AM_CONDITIONAL(HAVE_LIBXV, test "x$HAVE_LIBXV" = "xyes")

View file

@ -1,3 +1,9 @@
SUBDIRS = riff colorspace getbits putbits videoscale winloader idct if HAVE_CPU_I386
GSTARCH_SUBDS = videoscale winloader idct
else
GSTARCH_SUBDS =
endif
SUBDIRS = riff colorspace getbits putbits $(GSTARCH_SUBDS)
DIST_SUBDIRS = riff colorspace getbits putbits videoscale winloader idct DIST_SUBDIRS = riff colorspace getbits putbits videoscale winloader idct