diff mbox

[5/7] Change --static to --enable-static

Message ID c5ecd44c61c9fe13cc4a4e7d27667fb108975a5f.1264008700.git.quintela@redhat.com
State New
Headers show

Commit Message

Juan Quintela Jan. 20, 2010, 5:41 p.m. UTC
This way it is consistent with everything else.  Leave --static as compatible
option, but don't document it

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

Patch

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"