# ldt_keeper.c is not used here !! this is not a bug
# it's used in lib/common/ldt_keeper.cpp
+--- avifile0.7-20020412/acinclude.m4.orig Thu Apr 11 20:59:08 2002
++++ avifile0.7-20020412/acinclude.m4 Sun Apr 21 15:35:25 2002
+@@ -1444,18 +1444,6 @@
+
+
+
+-# as.m4
+-# Figure out how to run the assembler.
+-
+-# AM_PROG_AS
+-AC_DEFUN([AM_PROG_AS],
+-[# By default we simply use the C compiler to build assembly code.
+-AC_REQUIRE([AC_PROG_CC])
+-: ${AS='$(CC)'}
+-# Set ASFLAGS if not already set.
+-: ${ASFLAGS='$(CFLAGS)'}
+-AC_SUBST(AS)
+-AC_SUBST(ASFLAGS)])
+
+
+
+--- avifile0.7-20020412/lib/aviplay/Makefile.am.orig Mon Jan 7 23:24:48 2002
++++ avifile0.7-20020412/lib/aviplay/Makefile.am Sun Apr 21 15:37:56 2002
+@@ -38,7 +38,8 @@
+
+ # just for testing speed
+ check_PROGRAMS = hqtest res
+-hqtest_SOURCES = AudioFpHQResampler.cpp hqtest.cpp
++hqtest_SOURCES = hqtest.cpp
++hqtest_LDADD = AudioFpHQResampler.lo
+ hqtest_LDFLAGS = ../libaviplay.la $(SDL_LDADD)
+
+ res_SOURCES = ResampleSinc.cpp
+--- avifile0.7-20020412/plugins/libac3pass/Makefile.am.orig Sun Apr 21 15:35:45 2002
++++ avifile0.7-20020412/plugins/libac3pass/Makefile.am Sun Apr 21 15:39:18 2002
+@@ -9,7 +9,8 @@
+ EXTRA_DIST = Makefile.emu README.avifile
+
+ check_PROGRAMS = play_ac3
+-play_ac3_SOURCES = play-ac3.c ac3-iec958.c
++play_ac3_SOURCES = play-ac3.c
++play_ac3_LDADD = ac3-iec958.lo
+
+ LINE1=Digital L
+ LINE2=Digital R
+--- avifile0.7-20020412/plugins/libmad/libmad/configure.in.orig Sat Oct 27 03:28:47 2001
++++ avifile0.7-20020412/plugins/libmad/libmad/configure.in Sun Apr 21 15:41:42 2002
+@@ -352,7 +352,5 @@
+ test -n "$optimize" && CFLAGS="$CFLAGS $optimize"
+ test -n "$profile" && CFLAGS="$CFLAGS $profile" LDFLAGS="$LDFLAGS $profile"
+
+-LTLIBOBJS=`echo "$LIBOBJS" | sed -e 's/\.o/.lo/g'`
+-AC_SUBST(LTLIBOBJS)
+
+ AC_OUTPUT(Makefile)
benchmarkowania, ³±czenia plików AVI. Maj± wiêcej b³êdów, poniewa¿ nie
s± tak intensywnie rozwijane jak odtwarzacz.
-%ifarch %{ix86}
%package win32
Summary: Win32 audio/video plugin
Summary(pl): Plugin audio/video win32
%description win32 -l pl
Plugin do u¿ywania w avifile zlokalizowanych w /usr/lib/win32
bibliotek DLL Win32.
-%endif
%package ffmpeg
Summary: GPL MPEG4 codec
ruchu. D¼wiêk jest kompresowany w MPEG audio layer 2 lub u¿ywaj±c
kompatybilnego z AC3 strumienia.
-%ifarch %{ix86}
%package divx4
Summary: Fast MPEG4 codec
Summary(pl): Szybki kodek MPEG4
%description divx4 -l pl
Dekoder i koder MPEG-4 DivX.
-%endif
%package vorbis
Summary: Vorbis audio plugin
%description lame_audioenc -l pl
Plugin umo¿liwiaj±cy avirecompressowi kodowanie mp3.
-%ifarch %{ix86}
%package xvid
Summary: XVID codec
Summary(pl): Kodek XVID
%description xvid -l pl
Dekoder i koder XVID.
-%endif
%prep
%setup -q -n avifile%{_ver}-%{_snapver}
rm -f missing aclocal.m4
libtoolize --copy --force
aclocal
-autoconf
autoheader
+autoconf
automake -a -c --foreign
cd plugins/libmad/libmad