From a6b9e1fd04a8a1baebe273a2749c898fc1106ad0 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 23 Dec 2001 12:55:48 +0000 Subject: [PATCH] more cleanups adding avifile Original commit message from CVS: more cleanups adding avifile --- configure.ac | 10 +++++++--- ext/Makefile.am | 11 +++++++++-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 0bb4b9d..d6e47e1 100644 --- a/configure.ac +++ b/configure.ac @@ -421,11 +421,14 @@ GST_CHECK_FEATURE(AUDIOFILE, [audiofile], afsink afsrc, [ dnl *** avifile *** dnl this check uses the GST_CHECK_CONFIGPROG macro +dnl this check needs more fixing +dnl translit(dnm, m, l) AC_SUBST(AVIFILE_LIBS) translit(dnm, m, l) AM_CONDITIONAL(USE_AVIFILE, true) GST_CHECK_FEATURE(AVIFILE, [avifile], windec winenc, [ - translit(dnm, m, l) AC_SUBST(AVIFILE_LIBS) translit(dnm, m, l) AC_SUBST(AVIFILE_CFLAGS) GST_CHECK_CONFIGPROG(AVIFILE, avifile-config) + AVIFILE_LIBS="$AVIFILE_LIBS -lstdc++" + AC_SUBST(AVIFILE_LIBS) ]) dnl *** CDParanoia *** @@ -439,7 +442,7 @@ dnl AC_CHECK_HEADER(cdda_paranoia.h, :, HAVE_CDPARANOIA=no) dnl *** dvdread *** translit(dnm, m, l) AM_CONDITIONAL(USE_DVDREAD, true) -GST_CHECK_FEATURE(DVDREAD, [dvdread library], dvdread, [ +GST_CHECK_FEATURE(DVDREAD, [dvdread library], dvdsrc, [ GST_CHECK_LIBHEADER(DVDREAD, dvdread, DVDOpen, , dvdread/dvd_reader.h, DVDREAD_LIBS="-ldvdread") AC_SUBST(DVDREAD_LIBS) ]) @@ -1064,10 +1067,10 @@ gst/volume/Makefile \ gst/vumeter/Makefile \ gst/wavparse/Makefile" +dnl $PLUGIN_GST_MAKEFILES AC_OUTPUT( Makefile gst/Makefile -$PLUGIN_GST_MAKEFILES sys/Makefile sys/oss/Makefile sys/qcam/Makefile @@ -1079,6 +1082,7 @@ ext/Makefile ext/aalib/Makefile ext/alsa/Makefile ext/audiofile/Makefile +ext/avifile/Makefile ext/dvdread/Makefile ext/esd/Makefile ext/lame/Makefile diff --git a/ext/Makefile.am b/ext/Makefile.am index 92ff0db..3bd9abd 100644 --- a/ext/Makefile.am +++ b/ext/Makefile.am @@ -22,6 +22,13 @@ else AUDIOFILE_DIR= endif +if USE_AVIFILE +AVIFILE_DIR=avifile +else +AVIFILE_DIR= +endif + + if USE_DVDREAD DVDREAD_DIR=dvdread else @@ -65,9 +72,9 @@ VORBIS_DIR= endif SUBDIRS=$(A52_DIR) $(AALIB_DIR) $(ALSA_DIR) $(AUDIOFILE_DIR) \ - $(DVDREAD_DIR) $(ESD_DIR) \ + $(AVIFILE_DIR) $(DVDREAD_DIR) $(ESD_DIR) \ $(LAME_DIR) $(MAD_DIR) $(MPEG2DEC_DIR) \ $(SDL_DIR) $(VORBIS_DIR) -DIST_SUBDIRS=a52 aalib alsa audiofile dvdread esd \ +DIST_SUBDIRS=a52 aalib alsa avifile audiofile dvdread esd \ lame mad mpeg2dec sdl vorbis -- 2.7.4