comparison configure @ 23738:7f4973dc13c8

Fix compilation with -disable-mencoder
author cehoyos
date Tue, 10 Jul 2007 11:03:38 +0000
parents 088fa7bde511
children 5e70169314cb
comparison
equal deleted inserted replaced
23737:304beddf4700 23738:7f4973dc13c8
6451 6451
6452 fi 6452 fi
6453 6453
6454 echocheck "mencoder" 6454 echocheck "mencoder"
6455 _mencoder_flag='#undef HAVE_MENCODER' 6455 _mencoder_flag='#undef HAVE_MENCODER'
6456 _def_encoders='#undef CONFIG_ENCODERS'
6456 if test "$_mencoder" = yes ; then 6457 if test "$_mencoder" = yes ; then
6457 _mencoder_flag='#define HAVE_MENCODER' 6458 _mencoder_flag='#define HAVE_MENCODER'
6458 _def_muxers='#define CONFIG_MUXERS 1' 6459 _def_muxers='#define CONFIG_MUXERS 1'
6459 else 6460 _def_encoders='#define CONFIG_ENCODERS 1'
6460 # mpeg1video for vf_lavc, snow for vf_uspp and vf_mcdeint 6461 else
6461 _libavencoders="MPEG1VIDEO_ENCODER SNOW_ENCODER" 6462 _libavencoders=""
6462 _libavmuxers="" 6463 _libavmuxers=""
6463 fi 6464 fi
6464 echores "$_mencoder" 6465 echores "$_mencoder"
6465 6466
6466 echocheck "fastmemcpy" 6467 echocheck "fastmemcpy"
7932 $_def_libavutil_so 7933 $_def_libavutil_so
7933 7934
7934 /* Use libavcodec's decoders */ 7935 /* Use libavcodec's decoders */
7935 #define CONFIG_DECODERS 1 7936 #define CONFIG_DECODERS 1
7936 /* Use libavcodec's encoders */ 7937 /* Use libavcodec's encoders */
7937 #define CONFIG_ENCODERS 1 7938 $_def_encoders
7938 7939
7939 /* Use libavformat's demuxers */ 7940 /* Use libavformat's demuxers */
7940 #define CONFIG_DEMUXERS 1 7941 #define CONFIG_DEMUXERS 1
7941 /* Use libavformat's muxers */ 7942 /* Use libavformat's muxers */
7942 $_def_muxers 7943 $_def_muxers