Revision d2b7bcd2 configure

View differences:

configure
40 40
  ;;
41 41
esac
42 42
gprof="no"
43
mp3lib="yes"
44 43
grab="yes"
45 44
win32="no"
46 45

  
......
57 56
echo "  --cpu=CPU               force cpu to CPU  [$cpu]"
58 57
echo "  --disable-mmx           disable mmx usage"
59 58
echo "  --enable-gprof          enable profiling with gprof [$gprof]"
60
echo "  --disable-mp3lib        disable mp3 lib compiling"
61 59
echo "  --disable-grab          disable audio/video grabbing code"
62 60
echo "  --enable-win32          enable win32 cross compile"
63 61
exit 1
......
75 73
  ;;
76 74
  --enable-gprof) gprof="yes"
77 75
  ;;
78
  --disable-mp3lib) mp3lib="no"
79
  ;;
80 76
  --disable-grab) grab="no"
81 77
  ;;
82 78
  --enable-win32) win32="yes"
......
163 159
echo "#define CONFIG_DECODERS 1" >> config.h
164 160
echo "CONFIG_DECODERS=yes" >> config.mak
165 161

  
166
# special AC3 and MPGLIB enabling stuff in case you already have it
162
# special AC3 stuff in case you already have it
167 163
# without libavcodec.
168 164
echo "#define CONFIG_AC3 1" >> config.h
169 165
echo "CONFIG_AC3=yes" >> config.mak
170 166

  
171
if [ "$mp3lib" = "yes" ] ; then
172
  echo "#define CONFIG_MPGLIB 1" >> config.h
173
  echo "CONFIG_MPGLIB=yes" >> config.mak
174
fi
175

  
176 167
if [ "$grab" = "yes" ] ; then
177 168
  echo "#define CONFIG_GRAB 1" >> config.h
178 169
  echo "CONFIG_GRAB=yes" >> config.mak

Also available in: Unified diff