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

login
register
mail settings
Submitter Juan Quintela
Date Jan. 20, 2010, 5:41 p.m.
Message ID <c5ecd44c61c9fe13cc4a4e7d27667fb108975a5f.1264008700.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/43337/
State New
Headers show

Comments

Juan Quintela - Jan. 20, 2010, 5:41 p.m.
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(-)

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"