qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/7] *** SUBJECT HERE ***
@ 2010-01-20 17:41 Juan Quintela
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 1/7] Rename --enable-uname-release Juan Quintela
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Juan Quintela @ 2010-01-20 17:41 UTC (permalink / raw)
  To: qemu-devel

*** BLURB HERE ***

Juan Quintela (7):
  Rename --enable-uname-release
  Add PATH argument to options that need it
  Sort together all options that take arguments
  Add help to --cpu and --with-pkgversion
  Change --static to --enable-static
  Sort boolean options
  Add documentation for --enable/disable-docs

 configure |  362 ++++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 188 insertions(+), 174 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Qemu-devel] [PATCH 1/7] Rename --enable-uname-release
  2010-01-20 17:41 [Qemu-devel] [PATCH 0/7] *** SUBJECT HERE *** Juan Quintela
@ 2010-01-20 17:41 ` Juan Quintela
  2010-01-26 21:41   ` Anthony Liguori
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 2/7] Add PATH argument to options that need it Juan Quintela
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 9+ messages in thread
From: Juan Quintela @ 2010-01-20 17:41 UTC (permalink / raw)
  To: qemu-devel

It really sets uname string.  It don't make sense a --disable option

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

diff --git a/configure b/configure
index 192338f..08ff6a2 100755
--- a/configure
+++ b/configure
@@ -578,7 +578,7 @@ for opt do
   ;;
   --disable-user-pie) user_pie="no"
   ;;
-  --enable-uname-release=*) uname_release="$optarg"
+  --set-uname-release=*) uname_release="$optarg"
   ;;
   --sparc_cpu=*)
   ;;
@@ -782,7 +782,7 @@ echo "  --disable-user-pie       do not build usermode emulation targets as PIE"
 echo "  --fmod-lib               path to FMOD library"
 echo "  --fmod-inc               path to FMOD includes"
 echo "  --oss-lib                path to OSS library"
-echo "  --enable-uname-release=R Return R for uname -r in usermode emulation"
+echo "  --set-uname-release=R Return R for uname -r in usermode emulation"
 echo "  --sparc_cpu=V            Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9"
 echo "  --disable-uuid           disable uuid support"
 echo "  --enable-uuid            enable uuid support"
-- 
1.6.6

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Qemu-devel] [PATCH 2/7] Add PATH argument to options that need it
  2010-01-20 17:41 [Qemu-devel] [PATCH 0/7] *** SUBJECT HERE *** Juan Quintela
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 1/7] Rename --enable-uname-release Juan Quintela
@ 2010-01-20 17:41 ` Juan Quintela
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 3/7] Sort together all options that take arguments Juan Quintela
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Juan Quintela @ 2010-01-20 17:41 UTC (permalink / raw)
  To: qemu-devel


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

diff --git a/configure b/configure
index 08ff6a2..6175b75 100755
--- a/configure
+++ b/configure
@@ -779,9 +779,9 @@ echo "                           emulation targets"
 echo "  --disable-guest-base     disable GUEST_BASE support"
 echo "  --enable-user-pie        build usermode emulation targets as PIE"
 echo "  --disable-user-pie       do not build usermode emulation targets as PIE"
-echo "  --fmod-lib               path to FMOD library"
-echo "  --fmod-inc               path to FMOD includes"
-echo "  --oss-lib                path to OSS library"
+echo "  --fmod-lib=PATH          path to FMOD library"
+echo "  --fmod-inc=PATH          path to FMOD includes"
+echo "  --oss-lib=PATH           path to OSS library"
 echo "  --set-uname-release=R Return R for uname -r in usermode emulation"
 echo "  --sparc_cpu=V            Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9"
 echo "  --disable-uuid           disable uuid support"
-- 
1.6.6

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Qemu-devel] [PATCH 3/7] Sort together all options that take arguments
  2010-01-20 17:41 [Qemu-devel] [PATCH 0/7] *** SUBJECT HERE *** Juan Quintela
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 1/7] Rename --enable-uname-release Juan Quintela
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 2/7] Add PATH argument to options that need it Juan Quintela
@ 2010-01-20 17:41 ` Juan Quintela
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 4/7] Add help to --cpu and --with-pkgversion Juan Quintela
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Juan Quintela @ 2010-01-20 17:41 UTC (permalink / raw)
  To: qemu-devel


Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 configure |  103 +++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 53 insertions(+), 50 deletions(-)

diff --git a/configure b/configure
index 6175b75..1e6088c 100755
--- a/configure
+++ b/configure
@@ -60,12 +60,12 @@ audio_win_int=""
 for opt do
   optarg=`expr "x$opt" : 'x[^=]*=\(.*\)'`
   case "$opt" in
-  --cross-prefix=*) cross_prefix="$optarg"
-  ;;
   --cc=*) cc="$optarg"
   ;;
   --cpu=*) cpu="$optarg"
   ;;
+  --cross-prefix=*) cross_prefix="$optarg"
+  ;;
   --extra-cflags=*) QEMU_CFLAGS="$optarg $QEMU_CFLAGS"
   ;;
   --extra-ldflags=*) LDFLAGS="$optarg $LDFLAGS"
@@ -427,56 +427,67 @@ werror=""
 for opt do
   optarg=`expr "x$opt" : 'x[^=]*=\(.*\)'`
   case "$opt" in
+# Standard options
   --help|-h) show_help=yes
   ;;
+  --interp-prefix=*) interp_prefix="$optarg"
+  ;;
   --prefix=*) prefix="$optarg"
   ;;
-  --interp-prefix=*) interp_prefix="$optarg"
+  --target-list=*) target_list="$optarg"
   ;;
-  --source-path=*) source_path="$optarg"
-  source_path_used="yes"
+# Advanced options
+  --audio-card-list=*) audio_card_list=`echo "$optarg" | sed -e 's/,/ /g'`
   ;;
-  --cross-prefix=*)
+  --audio-drv-list=*) audio_drv_list="$optarg"
   ;;
-  --cc=*)
+  --block-drv-whitelist=*) block_drv_whitelist=`echo "$optarg" | sed -e 's/,/ /g'`
   ;;
-  --host-cc=*) host_cc="$optarg"
+  --cc=*)
   ;;
-  --make=*) make="$optarg"
+  --cpu=*)
   ;;
-  --install=*) install="$optarg"
+  --cross-prefix=*)
   ;;
   --extra-cflags=*)
   ;;
   --extra-ldflags=*)
   ;;
-  --cpu=*)
+  --fmod-inc=*) fmod_inc="$optarg"
   ;;
-  --target-list=*) target_list="$optarg"
+  --fmod-lib=*) fmod_lib="$optarg"
   ;;
-  --enable-gprof) gprof="yes"
+  --host-cc=*) host_cc="$optarg"
   ;;
-  --disable-gprof) gprof="no"
+  --install=*) install="$optarg"
   ;;
-  --static)
-    static="yes"
-    LDFLAGS="-static $LDFLAGS"
+  --kerneldir=*) kerneldir="$optarg"
   ;;
-  --disable-sdl) sdl="no"
+  --make=*) make="$optarg"
   ;;
-  --enable-sdl) sdl="yes"
+  --oss-lib=*) oss_lib="$optarg"
   ;;
-  --fmod-lib=*) fmod_lib="$optarg"
+  --set-uname-release=*) uname_release="$optarg"
   ;;
-  --fmod-inc=*) fmod_inc="$optarg"
+  --source-path=*)
+    source_path="$optarg"
+    source_path_used="yes"
   ;;
-  --oss-lib=*) oss_lib="$optarg"
+  --sparc_cpu=*)
   ;;
-  --audio-card-list=*) audio_card_list=`echo "$optarg" | sed -e 's/,/ /g'`
+  --with-pkgversion=*) pkgversion=" ($optarg)"
   ;;
-  --audio-drv-list=*) audio_drv_list="$optarg"
+  --static)
+    static="yes"
+    LDFLAGS="-static $LDFLAGS"
   ;;
-  --block-drv-whitelist=*) block_drv_whitelist=`echo "$optarg" | sed -e 's/,/ /g'`
+  --enable-gprof) gprof="yes"
+  ;;
+  --disable-gprof) gprof="no"
+  ;;
+  --disable-sdl) sdl="no"
+  ;;
+  --enable-sdl) sdl="yes"
   ;;
   --enable-debug-tcg) debug_tcg="yes"
   ;;
@@ -578,10 +589,6 @@ for opt do
   ;;
   --disable-user-pie) user_pie="no"
   ;;
-  --set-uname-release=*) uname_release="$optarg"
-  ;;
-  --sparc_cpu=*)
-  ;;
   --enable-werror) werror="yes"
   ;;
   --disable-werror) werror="no"
@@ -622,10 +629,6 @@ for opt do
   ;;
   --enable-blobs) blobs="yes"
   ;;
-  --kerneldir=*) kerneldir="$optarg"
-  ;;
-  --with-pkgversion=*) pkgversion=" ($optarg)"
-  ;;
   --disable-docs) docs="no"
   ;;
   --enable-docs) docs="yes"
@@ -699,20 +702,32 @@ Options: [defaults in brackets after descriptions]
 EOF
 echo "Standard options:"
 echo "  --help                   print this message"
-echo "  --prefix=PREFIX          install in PREFIX [$prefix]"
 echo "  --interp-prefix=PREFIX   where to find shared libraries, etc."
 echo "                           use %M for cpu name [$interp_prefix]"
+echo "  --prefix=PREFIX          install in PREFIX [$prefix]"
 echo "  --target-list=LIST       set target list [$target_list]"
 echo ""
 echo "Advanced options (experts only):"
-echo "  --source-path=PATH       path of source code [$source_path]"
-echo "  --cross-prefix=PREFIX    use PREFIX for compile tools [$cross_prefix]"
+echo "  --audio-drv-list=LIST    set audio drivers list:"
+echo "                           Available drivers: $audio_possible_drivers"
+echo "  --audio-card-list=LIST   set list of emulated audio cards [$audio_card_list]"
+echo "                           Available cards: $audio_possible_cards"
+echo "  --block-drv-whitelist=L  set block driver whitelist"
+echo "                           (affects only QEMU, not qemu-img)"
 echo "  --cc=CC                  use C compiler CC [$cc]"
-echo "  --host-cc=CC             use C compiler CC [$host_cc] for dyngen etc."
+echo "  --cross-prefix=PREFIX    use PREFIX for compile tools [$cross_prefix]"
 echo "  --extra-cflags=CFLAGS    append extra C compiler flags QEMU_CFLAGS"
 echo "  --extra-ldflags=LDFLAGS  append extra linker flags LDFLAGS"
-echo "  --make=MAKE              use specified make [$make]"
+echo "  --fmod-inc=PATH          path to FMOD includes"
+echo "  --fmod-lib=PATH          path to FMOD library"
+echo "  --host-cc=CC             use C compiler CC [$host_cc] for dyngen etc."
 echo "  --install=INSTALL        use specified install [$install]"
+echo "  --kerneldir=PATH         look for kernel includes in PATH"
+echo "  --make=MAKE              use specified make [$make]"
+echo "  --oss-lib=PATH           path to OSS library"
+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 "  --static                 enable static build [$static]"
 echo "  --disable-gprof          disable gprof profiling"
 echo "  --enable-gprof           enable gprof profiling"
@@ -734,12 +749,6 @@ echo "  --disable-sdl            disable SDL"
 echo "  --enable-sdl             enable SDL"
 echo "  --disable-cocoa          disable COCOA (Mac OS X only)"
 echo "  --enable-cocoa           enable COCOA (Mac OS X only)"
-echo "  --audio-drv-list=LIST    set audio drivers list:"
-echo "                           Available drivers: $audio_possible_drivers"
-echo "  --audio-card-list=LIST   set list of emulated audio cards [$audio_card_list]"
-echo "                           Available cards: $audio_possible_cards"
-echo "  --block-drv-whitelist=L  set block driver whitelist"
-echo "                           (affects only QEMU, not qemu-img)"
 echo "  --disable-mixemu         disable mixer emulation"
 echo "  --enable-mixemu          enable mixer emulation"
 echo "  --disable-xen            disable xen backend driver support"
@@ -779,11 +788,6 @@ echo "                           emulation targets"
 echo "  --disable-guest-base     disable GUEST_BASE support"
 echo "  --enable-user-pie        build usermode emulation targets as PIE"
 echo "  --disable-user-pie       do not build usermode emulation targets as PIE"
-echo "  --fmod-lib=PATH          path to FMOD library"
-echo "  --fmod-inc=PATH          path to FMOD includes"
-echo "  --oss-lib=PATH           path to OSS library"
-echo "  --set-uname-release=R Return R for uname -r in usermode emulation"
-echo "  --sparc_cpu=V            Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9"
 echo "  --disable-uuid           disable uuid support"
 echo "  --enable-uuid            enable uuid support"
 echo "  --disable-vde            disable support for vde network"
@@ -794,7 +798,6 @@ echo "  --disable-io-thread      disable IO thread"
 echo "  --enable-io-thread       enable IO thread"
 echo "  --disable-blobs          disable installing provided firmware blobs"
 echo "  --enable-blobs           enable installing provided firmware blobs"
-echo "  --kerneldir=PATH         look for kernel includes in PATH"
 echo ""
 echo "NOTE: The object files are built at the place where configure is launched"
 exit 1
-- 
1.6.6

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Qemu-devel] [PATCH 4/7] Add help to --cpu and --with-pkgversion
  2010-01-20 17:41 [Qemu-devel] [PATCH 0/7] *** SUBJECT HERE *** Juan Quintela
                   ` (2 preceding siblings ...)
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 3/7] Sort together all options that take arguments Juan Quintela
@ 2010-01-20 17:41 ` Juan Quintela
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 5/7] Change --static to --enable-static Juan Quintela
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 9+ messages in thread
From: Juan Quintela @ 2010-01-20 17:41 UTC (permalink / raw)
  To: qemu-devel


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

diff --git a/configure b/configure
index 1e6088c..c9061e1 100755
--- a/configure
+++ b/configure
@@ -715,6 +715,7 @@ echo "                           Available cards: $audio_possible_cards"
 echo "  --block-drv-whitelist=L  set block driver whitelist"
 echo "                           (affects only QEMU, not qemu-img)"
 echo "  --cc=CC                  use C compiler CC [$cc]"
+echo "  --cpu=CPU                use CPU for configuration"
 echo "  --cross-prefix=PREFIX    use PREFIX for compile tools [$cross_prefix]"
 echo "  --extra-cflags=CFLAGS    append extra C compiler flags QEMU_CFLAGS"
 echo "  --extra-ldflags=LDFLAGS  append extra linker flags LDFLAGS"
@@ -728,6 +729,7 @@ echo "  --oss-lib=PATH           path to OSS library"
 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-gprof          disable gprof profiling"
 echo "  --enable-gprof           enable gprof profiling"
-- 
1.6.6

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Qemu-devel] [PATCH 5/7] Change --static to --enable-static
  2010-01-20 17:41 [Qemu-devel] [PATCH 0/7] *** SUBJECT HERE *** Juan Quintela
                   ` (3 preceding siblings ...)
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 4/7] Add help to --cpu and --with-pkgversion Juan Quintela
@ 2010-01-20 17:41 ` Juan Quintela
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 6/7] Sort boolean options Juan Quintela
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 7/7] Add documentation for --enable/disable-docs Juan Quintela
  6 siblings, 0 replies; 9+ messages in thread
From: Juan Quintela @ 2010-01-20 17:41 UTC (permalink / raw)
  To: qemu-devel

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 --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

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Qemu-devel] [PATCH 6/7] Sort boolean options
  2010-01-20 17:41 [Qemu-devel] [PATCH 0/7] *** SUBJECT HERE *** Juan Quintela
                   ` (4 preceding siblings ...)
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 5/7] Change --static to --enable-static Juan Quintela
@ 2010-01-20 17:41 ` Juan Quintela
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 7/7] Add documentation for --enable/disable-docs Juan Quintela
  6 siblings, 0 replies; 9+ messages in thread
From: Juan Quintela @ 2010-01-20 17:41 UTC (permalink / raw)
  To: qemu-devel

No code changes

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 configure |  285 +++++++++++++++++++++++++++++++------------------------------
 1 files changed, 144 insertions(+), 141 deletions(-)

diff --git a/configure b/configure
index f86fef3..046b0fb 100755
--- a/configure
+++ b/configure
@@ -477,164 +477,166 @@ for opt do
   ;;
   --with-pkgversion=*) pkgversion=" ($optarg)"
   ;;
-  --disable-static)
-    static="no"
+# Boolean options
+  --disable-blobs) blobs="no"
   ;;
-  --enable-static|--static) #--static was the old name
-    static="yes"
-    LDFLAGS="-static $LDFLAGS"
+  --enable-blobs) blobs="yes"
   ;;
-  --enable-gprof) gprof="yes"
+  --disable-bluez) bluez="no"
   ;;
-  --disable-gprof) gprof="no"
+  --enable-bluez) bluez="yes"
   ;;
-  --disable-sdl) sdl="no"
+  --disable-brlapi) brlapi="no"
   ;;
-  --enable-sdl) sdl="yes"
+  --enable-brlapi) brlapi="yes"
   ;;
-  --enable-debug-tcg) debug_tcg="yes"
+  --disable-bsd-user) bsd_user="no"
   ;;
-  --disable-debug-tcg) debug_tcg="no"
+  --enable-bsd-user) bsd_user="yes"
   ;;
-  --disable-debug)
-      debug_tcg="no"
-      debug="no"
+  --disable-check-utests) check_utests="no"
   ;;
-  --enable-debug)
-      # Enable debugging options that aren't excessively noisy
-      debug_tcg="yes"
-      debug="yes"
-      strip_opt="no"
+  --enable-check-utests) check_utests="yes"
   ;;
-  --enable-sparse) sparse="yes"
+  --disable-cocoa)
+      cocoa="no"
   ;;
-  --disable-sparse) sparse="no"
+  --enable-cocoa)
+    cocoa="yes" ;
+    sdl="no" ;
+    audio_drv_list="coreaudio `echo $audio_drv_list | sed s,coreaudio,,g`"
   ;;
-  --disable-strip) strip_opt="no"
+  --disable-curl) curl="no"
   ;;
-  --enable-strip) strip_opt="yes"
+  --enable-curl) curl="yes"
   ;;
-  --disable-vnc-tls) vnc_tls="no"
+  --disable-curses) curses="no"
   ;;
-  --enable-vnc-tls) vnc_tls="yes"
+  --enable-curses) curses="yes"
   ;;
-  --disable-vnc-sasl) vnc_sasl="no"
+  --disable-darwin-user) darwin_user="no"
   ;;
-  --enable-vnc-sasl) vnc_sasl="yes"
+  --enable-darwin-user) darwin_user="yes"
   ;;
-  --disable-slirp) slirp="no"
+  --disable-debug)
+    debug_tcg="no"
+    debug="no"
   ;;
-  --enable-slirp) slirp="yes"
+  --enable-debug)
+    # Enable debugging options that aren't excessively noisy
+    debug_tcg="yes"
+    debug="yes"
+    strip_opt="no"
   ;;
-  --disable-uuid) uuid="no"
+  --disable-debug-tcg) debug_tcg="no"
   ;;
-  --enable-uuid) uuid="yes"
+  --enable-debug-tcg) debug_tcg="yes"
   ;;
-  --disable-vde) vde="no"
+  --disable-docs) docs="no"
   ;;
-  --enable-vde) vde="yes"
+  --enable-docs) docs="yes"
   ;;
-  --disable-xen) xen="no"
+  --disable-fdt) fdt="no"
   ;;
-  --enable-xen) xen="yes"
+  --enable-fdt) fdt="yes"
   ;;
-  --disable-brlapi) brlapi="no"
+  --enable-gprof) gprof="yes"
   ;;
-  --enable-brlapi) brlapi="yes"
+  --disable-gprof) gprof="no"
   ;;
-  --disable-bluez) bluez="no"
+  --disable-guest-base) guest_base="no"
   ;;
-  --enable-bluez) bluez="yes"
+  --enable-guest-base) guest_base="yes"
+  ;;
+  --disable-io-thread) io_thread="no"
+  ;;
+  --enable-io-thread) io_thread="yes"
   ;;
   --disable-kvm) kvm="no"
   ;;
   --enable-kvm) kvm="yes"
   ;;
-  --disable-profiler) profiler="no"
-  ;;
-  --enable-profiler) profiler="yes"
+  --disable-linux-aio) linux_aio="no"
   ;;
-  --enable-cocoa)
-      cocoa="yes" ;
-      sdl="no" ;
-      audio_drv_list="coreaudio `echo $audio_drv_list | sed s,coreaudio,,g`"
+  --enable-linux-aio) linux_aio="yes"
   ;;
-  --disable-cocoa)
-      cocoa="no"
+  --disable-linux-user) linux_user="no"
   ;;
-  --disable-system) softmmu="no"
+  --enable-linux-user) linux_user="yes"
   ;;
-  --enable-system) softmmu="yes"
+  --disable-mixemu) mixemu="no"
   ;;
-  --disable-user)
-      linux_user="no" ;
-      bsd_user="no" ;
-      darwin_user="no"
+  --enable-mixemu) mixemu="yes"
   ;;
-  --enable-user) ;;
-  --disable-linux-user) linux_user="no"
+  --disable-nptl) nptl="no"
   ;;
-  --enable-linux-user) linux_user="yes"
+  --enable-nptl) nptl="yes"
   ;;
-  --disable-darwin-user) darwin_user="no"
+  --disable-profiler) profiler="no"
   ;;
-  --enable-darwin-user) darwin_user="yes"
+  --enable-profiler) profiler="yes"
   ;;
-  --disable-bsd-user) bsd_user="no"
+  --disable-sdl) sdl="no"
   ;;
-  --enable-bsd-user) bsd_user="yes"
+  --enable-sdl) sdl="yes"
   ;;
-  --enable-guest-base) guest_base="yes"
+  --disable-slirp) slirp="no"
   ;;
-  --disable-guest-base) guest_base="no"
+  --enable-slirp) slirp="yes"
   ;;
-  --enable-user-pie) user_pie="yes"
+  --enable-sparse) sparse="yes"
   ;;
-  --disable-user-pie) user_pie="no"
+  --disable-sparse) sparse="no"
   ;;
-  --enable-werror) werror="yes"
+  --disable-static)
+    static="no"
   ;;
-  --disable-werror) werror="no"
+  --enable-static|--static) #--static was the old name
+    static="yes"
+    LDFLAGS="-static $LDFLAGS"
   ;;
-  --disable-curses) curses="no"
+  --disable-strip) strip_opt="no"
   ;;
-  --enable-curses) curses="yes"
+  --enable-strip) strip_opt="yes"
   ;;
-  --disable-curl) curl="no"
+  --disable-system) softmmu="no"
   ;;
-  --enable-curl) curl="yes"
+  --enable-system) softmmu="yes"
   ;;
-  --disable-fdt) fdt="no"
+  --disable-user)
+    linux_user="no" ;
+    bsd_user="no" ;
+    darwin_user="no"
   ;;
-  --enable-fdt) fdt="yes"
+  --enable-user)
   ;;
-  --disable-check-utests) check_utests="no"
+  --disable-user-pie) user_pie="no"
   ;;
-  --enable-check-utests) check_utests="yes"
+  --enable-user-pie) user_pie="yes"
   ;;
-  --disable-nptl) nptl="no"
+  --disable-uuid) uuid="no"
   ;;
-  --enable-nptl) nptl="yes"
+  --enable-uuid) uuid="yes"
   ;;
-  --disable-mixemu) mixemu="no"
+  --disable-vde) vde="no"
   ;;
-  --enable-mixemu) mixemu="yes"
+  --enable-vde) vde="yes"
   ;;
-  --disable-linux-aio) linux_aio="no"
+  --disable-vnc-sasl) vnc_sasl="no"
   ;;
-  --enable-linux-aio) linux_aio="yes"
+  --enable-vnc-sasl) vnc_sasl="yes"
   ;;
-  --disable-io-thread) io_thread="no"
+  --disable-vnc-tls) vnc_tls="no"
   ;;
-  --enable-io-thread) io_thread="yes"
+  --enable-vnc-tls) vnc_tls="yes"
   ;;
-  --disable-blobs) blobs="no"
+  --enable-werror) werror="yes"
   ;;
-  --enable-blobs) blobs="yes"
+  --disable-werror) werror="no"
   ;;
-  --disable-docs) docs="no"
+  --disable-xen) xen="no"
   ;;
-  --enable-docs) docs="yes"
+  --enable-xen) xen="yes"
   ;;
   *) echo "ERROR: unknown option $opt"; show_help="yes"
   ;;
@@ -733,77 +735,78 @@ 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 "  --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"
-echo "  --disable-debug-tcg      disable TCG debugging (default)"
-echo "  --disable-debug          disable common debug build options"
-echo "  --enable-debug           enable common debug build options"
-echo "  --enable-sparse          enable sparse checker"
-echo "  --disable-sparse         disable sparse checker (default)"
-echo "  --disable-strip          disable stripping binaries"
-echo "  --enable-strip           enable stripping binaries"
-echo "  --disable-slirp          disable slirp networking"
-echo "  --enable-slirp           enable slirp networking"
-echo "  --disable-profiler       disable tcg profiler"
-echo "  --enable-profiler        enable tcg profiler"
-echo "  --disable-werror         disable compilation abort on warning"
-echo "  --enable-werror          enable compilation abort on warning"
-echo "  --disable-sdl            disable SDL"
-echo "  --enable-sdl             enable SDL"
-echo "  --disable-cocoa          disable COCOA (Mac OS X only)"
-echo "  --enable-cocoa           enable COCOA (Mac OS X only)"
-echo "  --disable-mixemu         disable mixer emulation"
-echo "  --enable-mixemu          enable mixer emulation"
-echo "  --disable-xen            disable xen backend driver support"
-echo "  --enable-xen             enable xen backend driver support"
+echo "Boolean options"
+echo "  --disable-blobs          disable installing provided firmware blobs"
+echo "  --enable-blobs           enable installing provided firmware blobs"
+echo "  --disable-bluez          disable bluez stack connectivity"
+echo "  --enable-bluez           enable bluez stack connectivity"
 echo "  --disable-brlapi         disable BrlAPI"
 echo "  --enable-brlapi          enable BrlAPI"
-echo "  --disable-vnc-tls        disable TLS encryption for VNC server"
-echo "  --enable-vnc-tls         enable TLS encryption for VNC server"
-echo "  --disable-vnc-sasl       disable SASL encryption for VNC server"
-echo "  --enable-vnc-sasl        enable SASL encryption for VNC server"
-echo "  --disable-curses         disable curses output"
-echo "  --enable-curses          enable curses output"
+echo "  --enable-bsd-user        enable all BSD usermode emulation targets"
+echo "  --disable-bsd-user       disable all BSD usermode emulation targets"
+echo "  --disable-check-utests   disable check unit-tests"
+echo "  --enable-check-utests    enable check unit-tests"
+echo "  --disable-cocoa          disable COCOA (Mac OS X only)"
+echo "  --enable-cocoa           enable COCOA (Mac OS X only)"
 echo "  --disable-curl           disable curl connectivity"
 echo "  --enable-curl            enable curl connectivity"
+echo "  --disable-curses         disable curses output"
+echo "  --enable-curses          enable curses output"
+echo "  --enable-darwin-user     enable all darwin usermode emulation targets"
+echo "  --disable-darwin-user    disable all darwin usermode emulation targets"
+echo "  --disable-debug          disable common debug build options"
+echo "  --enable-debug           enable common debug build options"
+echo "  --disable-debug-tcg      disable TCG debugging (default)"
+echo "  --enable-debug-tcg       enable TCG debugging"
 echo "  --disable-fdt            disable fdt device tree"
 echo "  --enable-fdt             enable fdt device tree"
-echo "  --disable-check-utests   disable check unit-tests"
-echo "  --enable-check-utests    enable check unit-tests"
-echo "  --disable-bluez          disable bluez stack connectivity"
-echo "  --enable-bluez           enable bluez stack connectivity"
+echo "  --disable-gprof          disable gprof profiling"
+echo "  --enable-gprof           enable gprof profiling"
+echo "  --enable-guest-base      enable GUEST_BASE support for usermode"
+echo "                           emulation targets"
+echo "  --disable-guest-base     disable GUEST_BASE support"
+echo "  --disable-io-thread      disable IO thread"
+echo "  --enable-io-thread       enable IO thread"
 echo "  --disable-kvm            disable KVM acceleration support"
 echo "  --enable-kvm             enable KVM acceleration support"
+echo "  --disable-linux-aio      disable Linux AIO support"
+echo "  --enable-linux-aio       enable Linux AIO support"
+echo "  --enable-linux-user      enable all linux usermode emulation targets"
+echo "  --disable-linux-user     disable all linux usermode emulation targets"
+echo "  --disable-mixemu         disable mixer emulation"
+echo "  --enable-mixemu          enable mixer emulation"
 echo "  --disable-nptl           disable usermode NPTL support"
 echo "  --enable-nptl            enable usermode NPTL support"
-echo "  --enable-system          enable all system emulation targets"
+echo "  --disable-profiler       disable tcg profiler"
+echo "  --enable-profiler        enable tcg profiler"
+echo "  --disable-sdl            disable SDL"
+echo "  --enable-sdl             enable SDL"
+echo "  --disable-slirp          disable slirp networking"
+echo "  --enable-slirp           enable slirp networking"
+echo "  --disable-sparse         disable sparse checker (default)"
+echo "  --enable-sparse          enable sparse checker"
+echo "  --disable-static         disable static build"
+echo "  --enable-static          enable static build"
+echo "  --disable-strip          disable stripping binaries"
+echo "  --enable-strip           enable stripping binaries"
 echo "  --disable-system         disable all system emulation targets"
-echo "  --enable-user            enable supported user emulation targets"
+echo "  --enable-system          enable all system emulation targets"
 echo "  --disable-user           disable all user emulation targets"
-echo "  --enable-linux-user      enable all linux usermode emulation targets"
-echo "  --disable-linux-user     disable all linux usermode emulation targets"
-echo "  --enable-darwin-user     enable all darwin usermode emulation targets"
-echo "  --disable-darwin-user    disable all darwin usermode emulation targets"
-echo "  --enable-bsd-user        enable all BSD usermode emulation targets"
-echo "  --disable-bsd-user       disable all BSD usermode emulation targets"
-echo "  --enable-guest-base      enable GUEST_BASE support for usermode"
-echo "                           emulation targets"
-echo "  --disable-guest-base     disable GUEST_BASE support"
-echo "  --enable-user-pie        build usermode emulation targets as PIE"
+echo "  --enable-user            enable supported user emulation targets"
 echo "  --disable-user-pie       do not build usermode emulation targets as PIE"
+echo "  --enable-user-pie        build usermode emulation targets as PIE"
 echo "  --disable-uuid           disable uuid support"
 echo "  --enable-uuid            enable uuid support"
 echo "  --disable-vde            disable support for vde network"
 echo "  --enable-vde             enable support for vde network"
-echo "  --disable-linux-aio      disable Linux AIO support"
-echo "  --enable-linux-aio       enable Linux AIO support"
-echo "  --disable-io-thread      disable IO thread"
-echo "  --enable-io-thread       enable IO thread"
-echo "  --disable-blobs          disable installing provided firmware blobs"
-echo "  --enable-blobs           enable installing provided firmware blobs"
+echo "  --disable-vnc-sasl       disable SASL encryption for VNC server"
+echo "  --enable-vnc-sasl        enable SASL encryption for VNC server"
+echo "  --disable-vnc-tls        disable TLS encryption for VNC server"
+echo "  --enable-vnc-tls         enable TLS encryption for VNC server"
+echo "  --disable-werror         disable compilation abort on warning"
+echo "  --enable-werror          enable compilation abort on warning"
+echo "  --disable-xen            disable xen backend driver support"
+echo "  --enable-xen             enable xen backend driver support"
 echo ""
 echo "NOTE: The object files are built at the place where configure is launched"
 exit 1
-- 
1.6.6

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Qemu-devel] [PATCH 7/7] Add documentation for --enable/disable-docs
  2010-01-20 17:41 [Qemu-devel] [PATCH 0/7] *** SUBJECT HERE *** Juan Quintela
                   ` (5 preceding siblings ...)
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 6/7] Sort boolean options Juan Quintela
@ 2010-01-20 17:41 ` Juan Quintela
  6 siblings, 0 replies; 9+ messages in thread
From: Juan Quintela @ 2010-01-20 17:41 UTC (permalink / raw)
  To: qemu-devel


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

diff --git a/configure b/configure
index 046b0fb..9d315f4 100755
--- a/configure
+++ b/configure
@@ -758,6 +758,8 @@ echo "  --disable-debug          disable common debug build options"
 echo "  --enable-debug           enable common debug build options"
 echo "  --disable-debug-tcg      disable TCG debugging (default)"
 echo "  --enable-debug-tcg       enable TCG debugging"
+echo "  --disable-docs           disable documentation generation"
+echo "  --enable-docs            enable documentation generation"
 echo "  --disable-fdt            disable fdt device tree"
 echo "  --enable-fdt             enable fdt device tree"
 echo "  --disable-gprof          disable gprof profiling"
-- 
1.6.6

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] [PATCH 1/7] Rename --enable-uname-release
  2010-01-20 17:41 ` [Qemu-devel] [PATCH 1/7] Rename --enable-uname-release Juan Quintela
@ 2010-01-26 21:41   ` Anthony Liguori
  0 siblings, 0 replies; 9+ messages in thread
From: Anthony Liguori @ 2010-01-26 21:41 UTC (permalink / raw)
  To: Juan Quintela; +Cc: qemu-devel

On 01/20/2010 11:41 AM, Juan Quintela wrote:
> It really sets uname string.  It don't make sense a --disable option
>
> Signed-off-by: Juan Quintela<quintela@redhat.com>
>    

Patch 3/7 doesn't apply.  It's an annoying one to rebase too.  Please 
send out a new series and ping me and I'll quickly apply it since this 
one is likely to break again.

Regards,

Anthony Liguori

> ---
>   configure |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure b/configure
> index 192338f..08ff6a2 100755
> --- a/configure
> +++ b/configure
> @@ -578,7 +578,7 @@ for opt do
>     ;;
>     --disable-user-pie) user_pie="no"
>     ;;
> -  --enable-uname-release=*) uname_release="$optarg"
> +  --set-uname-release=*) uname_release="$optarg"
>     ;;
>     --sparc_cpu=*)
>     ;;
> @@ -782,7 +782,7 @@ echo "  --disable-user-pie       do not build usermode emulation targets as PIE"
>   echo "  --fmod-lib               path to FMOD library"
>   echo "  --fmod-inc               path to FMOD includes"
>   echo "  --oss-lib                path to OSS library"
> -echo "  --enable-uname-release=R Return R for uname -r in usermode emulation"
> +echo "  --set-uname-release=R Return R for uname -r in usermode emulation"
>   echo "  --sparc_cpu=V            Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9"
>   echo "  --disable-uuid           disable uuid support"
>   echo "  --enable-uuid            enable uuid support"
>    

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-01-26 21:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-20 17:41 [Qemu-devel] [PATCH 0/7] *** SUBJECT HERE *** Juan Quintela
2010-01-20 17:41 ` [Qemu-devel] [PATCH 1/7] Rename --enable-uname-release Juan Quintela
2010-01-26 21:41   ` Anthony Liguori
2010-01-20 17:41 ` [Qemu-devel] [PATCH 2/7] Add PATH argument to options that need it Juan Quintela
2010-01-20 17:41 ` [Qemu-devel] [PATCH 3/7] Sort together all options that take arguments Juan Quintela
2010-01-20 17:41 ` [Qemu-devel] [PATCH 4/7] Add help to --cpu and --with-pkgversion Juan Quintela
2010-01-20 17:41 ` [Qemu-devel] [PATCH 5/7] Change --static to --enable-static Juan Quintela
2010-01-20 17:41 ` [Qemu-devel] [PATCH 6/7] Sort boolean options Juan Quintela
2010-01-20 17:41 ` [Qemu-devel] [PATCH 7/7] Add documentation for --enable/disable-docs Juan Quintela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).