changeset 21986:85d0b02f2a2d

Fix compilation if no libogg/libvoribs installed
author rtogni
date Wed, 24 Jan 2007 10:31:51 +0000
parents f50f197039ae
children fed73db9ddb1
files configure
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Jan 24 07:36:50 2007 +0000
+++ b/configure	Wed Jan 24 10:31:51 2007 +0000
@@ -1629,7 +1629,7 @@
 _amr_nb_fixed=auto
 _amr_wb=auto
 _libavdecoders_all=`sed -n 's/^[^#]*DEC.*, *\(.*\)).*/\1_decoder/p' "libavcodec/allcodecs.c"`
-_libavdecoders=` echo $_libavdecoders_all | sed -e s/aac_decoder// -e s/mpeg4aac_decoder//  -e s/ac3_decoder// -e s/libgsm_decoder// `
+_libavdecoders=` echo $_libavdecoders_all | sed -e s/aac_decoder// -e s/mpeg4aac_decoder//  -e s/ac3_decoder// -e s/libgsm_decoder// -e s/libvorbis_decoder// `
 _libavencoders_all=`sed -n 's/^[^#]*ENC.*, *\(.*\)).*/\1_encoder/p' "libavcodec/allcodecs.c"`
 _libavencoders=` echo $_libavencoders_all | sed -e s/libgsm_encoder// `
 _libavparsers_all=`sed -n 's/^[^#]*PARSER.*, *\(.*\)).*/\1_parser/p' "libavcodec/allcodecs.c"`
@@ -7460,6 +7460,10 @@
 if test "$_mp3lame" = no || test "$_lavc_mp3lame" = no ; then
   _libavencoders=`echo $_libavencoders | sed -e s/mp3lame_encoder// `
 fi
+if test "$_libvorbis" = no ; then
+  _libavencoders=`echo $_libavencoders | sed -e s/libvorbis_encoder// `
+  _libavmuxers=`echo $_libavmuxers | sed -e s/ogg_muxer// `
+fi
 if test "$_nut" = no ; then
   _libavmuxers=`echo $_libavmuxers | sed -e s/nut_muxer// `
 fi