Revision ca9118c8

View differences:

configure
15 15
  ;;
16 16
esac
17 17
gprof="no"
18
mp3lib="yes"
18 19

  
19 20
if [ "$1" = "-h" -o "$1" = "--help" ] ; then
20 21
cat << EOF
......
29 30
echo "  --cpu=CPU               force cpu to CPU  [$cpu]"
30 31
echo "  --disable-mmx           disable mmx usage"
31 32
echo "  --enable-gprof          enable profiling with gprof [$gprof]"
33
echo "  --disable-mp3lib        disable mp3 lib compiling"
32 34
exit 1
33 35
fi
34 36

  
......
44 46
  ;;
45 47
  --enable-gprof) gprof="yes"
46 48
  ;;
49
  --disable-mp3lib) mp3lib="no"
50
  ;;
47 51
  esac
48 52
done
49 53

  
......
94 98
echo "#define CONFIG_AC3 1" >> config.h
95 99
echo "CONFIG_AC3=yes" >> config.mak
96 100

  
97
echo "#define CONFIG_MPGLIB 1" >> config.h
98
echo "CONFIG_MPGLIB=yes" >> config.mak
101
if [ "$mp3lib" = "yes" ] ; then
102
  echo "#define CONFIG_MPGLIB 1" >> config.h
103
  echo "CONFIG_MPGLIB=yes" >> config.mak
104
fi

Also available in: Unified diff