Mercurial > mplayer.hg
comparison configure @ 26669:0b65caad7fb0
cosmetics: indentation
author | diego |
---|---|
date | Fri, 09 May 2008 00:02:27 +0000 |
parents | 23a4326c4779 |
children | 93c199383f94 |
comparison
equal
deleted
inserted
replaced
26668:23a4326c4779 | 26669:0b65caad7fb0 |
---|---|
6569 #include <xvid.h> | 6569 #include <xvid.h> |
6570 int main(void) { xvid_plugin_2pass2_t s; s.vbv_size=0; return 0; } | 6570 int main(void) { xvid_plugin_2pass2_t s; s.vbv_size=0; return 0; } |
6571 EOF | 6571 EOF |
6572 cc_check && _xvid_lavc=yes | 6572 cc_check && _xvid_lavc=yes |
6573 fi | 6573 fi |
6574 if test "$_xvid_lavc" = yes ; then | 6574 if test "$_xvid_lavc" = yes ; then |
6575 _def_xvid_lavc='#define CONFIG_LIBXVID 1' | 6575 _def_xvid_lavc='#define CONFIG_LIBXVID 1' |
6576 _libavencoders="$_libavencoders LIBXVID_ENCODER" | 6576 _libavencoders="$_libavencoders LIBXVID_ENCODER" |
6577 else | 6577 else |
6578 _xvid_lavc=no | 6578 _xvid_lavc=no |
6579 _def_xvid_lavc='#undef CONFIG_LIBXVID' | 6579 _def_xvid_lavc='#undef CONFIG_LIBXVID' |
6580 fi | 6580 fi |
6581 echores "$_xvid_lavc" | 6581 echores "$_xvid_lavc" |
6582 | 6582 |
6583 | 6583 |
6584 echocheck "x264" | 6584 echocheck "x264" |
6585 if test "$_x264" = auto ; then | 6585 if test "$_x264" = auto ; then |
6586 cat > $TMPC << EOF | 6586 cat > $TMPC << EOF |
6669 | 6669 |
6670 echocheck "libmp3lame (for mencoder)" | 6670 echocheck "libmp3lame (for mencoder)" |
6671 _def_mp3lame_preset='#undef HAVE_MP3LAME_PRESET' | 6671 _def_mp3lame_preset='#undef HAVE_MP3LAME_PRESET' |
6672 _def_mp3lame_preset_medium='#undef HAVE_MP3LAME_PRESET_MEDIUM' | 6672 _def_mp3lame_preset_medium='#undef HAVE_MP3LAME_PRESET_MEDIUM' |
6673 if test "$_mp3lame" = auto ; then | 6673 if test "$_mp3lame" = auto ; then |
6674 _mp3lame=no | 6674 _mp3lame=no |
6675 cat > $TMPC <<EOF | 6675 cat > $TMPC <<EOF |
6676 #include <lame/lame.h> | 6676 #include <lame/lame.h> |
6677 int main(void) { lame_version_t lv; (void) lame_init(); | 6677 int main(void) { lame_version_t lv; (void) lame_init(); |
6678 get_lame_version_numerical(&lv); printf("%d%d\n",lv.major,lv.minor); | 6678 get_lame_version_numerical(&lv); printf("%d%d\n",lv.major,lv.minor); |
6679 return 0; } | 6679 return 0; } |
6680 EOF | 6680 EOF |
6681 cc_check -lmp3lame $_ld_lm && tmp_run && _mp3lame=yes | 6681 cc_check -lmp3lame $_ld_lm && tmp_run && _mp3lame=yes |
6682 fi | 6682 fi |
6683 if test "$_mp3lame" = yes ; then | 6683 if test "$_mp3lame" = yes ; then |
6684 _def_mp3lame="#define HAVE_MP3LAME" | 6684 _def_mp3lame="#define HAVE_MP3LAME" |
6685 _ld_mp3lame=-lmp3lame | 6685 _ld_mp3lame=-lmp3lame |
6686 _libs_mencoder="$_libs_mencoder $_ld_mp3lame" | 6686 _libs_mencoder="$_libs_mencoder $_ld_mp3lame" |