Browse code

Rename optimize variable to the slightly more meaningful optimizations.

Originally committed as revision 10854 to svn://svn.ffmpeg.org/ffmpeg/trunk

Diego Biurrun authored on 2007/10/25 04:17:15
Showing 1 changed files
... ...
@@ -882,7 +882,7 @@ enable ipv6
882 882
 enable static
883 883
 enable mpegaudio_hp
884 884
 enable network
885
-enable optimize
885
+enable optimizations
886 886
 enable protocols
887 887
 vhook="default"
888 888
 
... ...
@@ -982,7 +982,7 @@ for opt do
982 982
   ;;
983 983
   --cpu=*) cpu="$optval"
984 984
   ;;
985
-  --disable-opts) disable optimize
985
+  --disable-opts) disable optimizations
986 986
   ;;
987 987
   --enable-sunmlib) enable mlib
988 988
   ;;
... ...
@@ -1301,7 +1301,7 @@ if test $targetos = darwin; then
1301 1301
     fi
1302 1302
 fi
1303 1303
 
1304
-disabled optimize || add_cflags -fomit-frame-pointer
1304
+disabled optimizations || add_cflags -fomit-frame-pointer
1305 1305
 
1306 1306
 # Add processor-specific flags
1307 1307
 if test $cpu != "generic"; then
... ...
@@ -1703,8 +1703,8 @@ check_ldflags $LDLATEFLAGS
1703 1703
 
1704 1704
 if enabled small; then
1705 1705
     check_cflags -Os            # not all compilers support -Os
1706
-    optimize="small"
1707
-elif enabled optimize; then
1706
+    optimizations="small"
1707
+elif enabled optimizations; then
1708 1708
     if test -n "`$cc -v 2>&1 | grep xlc`"; then
1709 1709
         add_cflags  "-O5"
1710 1710
         add_ldflags "-O5"
... ...
@@ -1785,7 +1785,7 @@ fi
1785 1785
 echo "gprof enabled             ${gprof-no}"
1786 1786
 echo "debug symbols             ${debug-no}"
1787 1787
 echo "strip symbols             ${dostrip-no}"
1788
-echo "optimize                  ${optimize-no}"
1788
+echo "optimizations             ${optimizations-no}"
1789 1789
 echo "static                    ${static-no}"
1790 1790
 echo "shared                    ${shared-no}"
1791 1791
 echo "postprocessing support    ${pp-no}"