configure: report optimization for size separately
authorMans Rullgard <mans@mansr.com>
Sun, 19 Jun 2011 17:41:14 +0000 (18:41 +0100)
committerMans Rullgard <mans@mansr.com>
Tue, 21 Jun 2011 19:47:10 +0000 (20:47 +0100)
This removes an unsightly override of the 'optimizations' setting
only to make the configure report print 'small' when --enable-small
is used.

Signed-off-by: Mans Rullgard <mans@mansr.com>
configure

index 31e82fc..b26394e 100755 (executable)
--- a/configure
+++ b/configure
@@ -3006,7 +3006,6 @@ fi
 
 if enabled small; then
     add_cflags $size_cflags
-    optimizations="small"
 elif enabled optimizations; then
     add_cflags $speed_cflags
 else
@@ -3140,6 +3139,7 @@ if enabled sparc; then
     echo "VIS enabled               ${vis-no}"
 fi
 echo "debug symbols             ${debug-no}"
+echo "optimize for size         ${small-no}"
 echo "optimizations             ${optimizations-no}"
 echo "static                    ${static-no}"
 echo "shared                    ${shared-no}"