This way it is consistent with everything else.  Leave --static as compatible
option, but don't document it

Signed-off-by: Juan Quintela <quint...@redhat.com>
---
 configure |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index c9061e1..f86fef3 100755
--- a/configure
+++ b/configure
@@ -477,7 +477,10 @@ for opt do
   ;;
   --with-pkgversion=*) pkgversion=" ($optarg)"
   ;;
-  --static)
+  --disable-static)
+    static="no"
+  ;;
+  --enable-static|--static) #--static was the old name
     static="yes"
     LDFLAGS="-static $LDFLAGS"
   ;;
@@ -730,7 +733,8 @@ echo "  --set-uname-release=R Return R for uname -r in 
usermode emulation"
 echo "  --source-path=PATH       path of source code [$source_path]"
 echo "  --sparc_cpu=V            Build qemu for Sparc architecture v7, v8, 
v8plus, v8plusa, v9"
 echo "  --with-pkgversion=PKG    Use PKG string as packageversion"
-echo "  --static                 enable static build [$static]"
+echo "  --disable-static         disable static build"
+echo "  --enable-static          enable static build"
 echo "  --disable-gprof          disable gprof profiling"
 echo "  --enable-gprof           enable gprof profiling"
 echo "  --enable-debug-tcg       enable TCG debugging"
-- 
1.6.6



Reply via email to