Revision 04f46ced configure

View differences:

configure
74 74
echo "  --disable-opts           disable compiler optimizations"
75 75
echo "  --disable-mpegaudio-hp   faster (but less accurate)"
76 76
echo "                           MPEG audio decoding [default=no]"
77
echo "  --disable-protocols      disable I/O protocols support [default=no]"
77 78
echo "  --disable-ffserver       disable ffserver build"
78 79
echo "  --disable-ffplay         disable ffplay build"
79 80
echo "  --enable-small           optimize for size instead of speed"
......
220 221
SHFLAGS='-shared -Wl,-soname,$@.$(LIBMAJOR)'
221 222
netserver="no"
222 223
need_inet_aton="no"
224
protocols="yes"
223 225
ffserver="yes"
224 226
ffplay="yes"
225 227
LIBOBJFLAGS=""
......
551 553
  ;;
552 554
  --disable-mpegaudio-hp) mpegaudio_hp="no"
553 555
  ;;
556
  --disable-protocols) protocols="no"; network="no"; ffserver="no"
557
  ;;
554 558
  --disable-ffserver) ffserver="no"
555 559
  ;;
556 560
  --disable-ffplay) ffplay="no"
......
587 591
  ;;
588 592
  --disable-decoders) CODEC_LIST="`echo $CODEC_LIST | sed 's/[-_a-zA-Z0-9]*decoder//g'`"
589 593
  ;;
590
  --disable-muxers) muxers="no"
594
  --disable-muxers) muxers="no"; ffserver="no"
591 595
  ;;
592 596
  --disable-demuxers) demuxers="no"
593 597
  ;;
......
1731 1735
  echo "#define SIMPLE_IDCT 1" >> $TMPH
1732 1736
fi
1733 1737

  
1738
if test "$protocols" = "yes" ; then
1739
  echo "#define CONFIG_PROTOCOLS 1" >> $TMPH
1740
  echo "CONFIG_PROTOCOLS=yes" >> config.mak
1741
fi
1742

  
1734 1743
if test "$ffserver" = "yes" ; then
1735 1744
  echo "#define CONFIG_FFSERVER 1" >> $TMPH
1736 1745
  echo "CONFIG_FFSERVER=yes" >> config.mak

Also available in: Unified diff