add powerpc_perf to CONFIG_LIST, rename --powerpc-perf-enable option

to --enable-powerpc-perf

Originally committed as revision 7969 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2007-02-13 23:48:36 +00:00
parent 35f9736988
commit 2b4c361536
1 changed files with 2 additions and 6 deletions

8
configure vendored
View File

@ -116,7 +116,7 @@ show_help(){
echo " --arch=ARCH select architecture [$arch]" echo " --arch=ARCH select architecture [$arch]"
echo " --cpu=CPU selects the minimum cpu required (affects" echo " --cpu=CPU selects the minimum cpu required (affects"
echo " instruction selection, may crash on older CPUs)" echo " instruction selection, may crash on older CPUs)"
echo " --powerpc-perf-enable enable performance report on PPC" echo " --enable-powerpc-perf enable performance report on PPC"
echo " (requires enabling PMC)" echo " (requires enabling PMC)"
echo " --disable-mmx disable MMX usage" echo " --disable-mmx disable MMX usage"
echo " --disable-armv5te disable armv5te usage" echo " --disable-armv5te disable armv5te usage"
@ -502,6 +502,7 @@ CONFIG_LIST='
memalign_hack memalign_hack
mpegaudio_hp mpegaudio_hp
network network
powerpc_perf
pp pp
protocols protocols
swscaler swscaler
@ -1029,8 +1030,6 @@ for opt do
;; ;;
--cpu=*) cpu="$optval" --cpu=*) cpu="$optval"
;; ;;
--powerpc-perf-enable) powerpc_perf="yes"
;;
--disable-v4l) video4linux="no" --disable-v4l) video4linux="no"
;; ;;
--disable-v4l2) video4linux2="no" --disable-v4l2) video4linux2="no"
@ -1890,9 +1889,6 @@ case "$arch" in
if test "$POWERPCMODE" = "64bits"; then if test "$POWERPCMODE" = "64bits"; then
echo "#define POWERPC_MODE_64BITS 1" >> $TMPH echo "#define POWERPC_MODE_64BITS 1" >> $TMPH
fi fi
if enabled powerpc_perf; then
echo "#define CONFIG_POWERPC_PERF 1" >> $TMPH
fi
;; ;;
sparc64) sparc64)
echo "TARGET_ARCH_SPARC=yes" >> config.mak echo "TARGET_ARCH_SPARC=yes" >> config.mak