From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxnYn-0002IT-Mu for qemu-devel@nongnu.org; Wed, 05 Nov 2008 13:56:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxnYm-0002HB-Ai for qemu-devel@nongnu.org; Wed, 05 Nov 2008 13:56:56 -0500 Received: from [199.232.76.173] (port=58004 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxnYl-0002Gu-QW for qemu-devel@nongnu.org; Wed, 05 Nov 2008 13:56:55 -0500 Received: from mx2.redhat.com ([66.187.237.31]:54502) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KxnYl-0004L1-6J for qemu-devel@nongnu.org; Wed, 05 Nov 2008 13:56:55 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mA5IurjR011830 for ; Wed, 5 Nov 2008 13:56:53 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mA5IuqJg026777 for ; Wed, 5 Nov 2008 13:56:52 -0500 Received: from localhost.localdomain (vpn-12-194.rdu.redhat.com [10.11.12.194]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mA5IunXc026227 for ; Wed, 5 Nov 2008 13:56:51 -0500 From: Glauber Costa Date: Wed, 5 Nov 2008 18:53:15 -0200 Message-Id: <1225918395-7404-3-git-send-email-glommer@redhat.com> In-Reply-To: <1225918395-7404-2-git-send-email-glommer@redhat.com> References: <1225918395-7404-1-git-send-email-glommer@redhat.com> <1225918395-7404-2-git-send-email-glommer@redhat.com> Subject: [Qemu-devel] [PATCH] correctly advertise presence of KVM support Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org We can fail in tests to enable kvm, for example, if we are compiling to a target different from our host platform. However, at that point, KVM support may have been already advertised to the user. This is very misleading. So we first test it, and then advertise KVM support. To do that without spliting the summary strings around the whole configure, we move everything to the end, where nothing can change anymore Signed-off-by: Glauber Costa --- configure | 102 ++++++++++++++++++++++++++++++------------------------------ 1 files changed, 51 insertions(+), 51 deletions(-) diff --git a/configure b/configure index 65f0c74..8e11506 100755 --- a/configure +++ b/configure @@ -1022,57 +1022,6 @@ else binsuffix="/bin" fi -echo "Install prefix $prefix" -echo "BIOS directory $prefix$datasuffix" -echo "binary directory $prefix$binsuffix" -if test "$mingw32" = "no" ; then -echo "Manual directory $prefix$mansuffix" -echo "ELF interp prefix $interp_prefix" -fi -echo "Source path $source_path" -echo "C compiler $cc" -echo "Host C compiler $host_cc" -echo "ARCH_CFLAGS $ARCH_CFLAGS" -echo "make $make" -echo "install $install" -echo "host CPU $cpu" -echo "host big endian $bigendian" -echo "target list $target_list" -echo "gprof enabled $gprof" -echo "sparse enabled $sparse" -echo "profiler $profiler" -echo "static build $static" -echo "-Werror enabled $werror" -if test "$darwin" = "yes" ; then - echo "Cocoa support $cocoa" -fi -echo "SDL support $sdl" -if test "$sdl" != "no" ; then - echo "SDL static link $sdl_static" -fi -echo "curses support $curses" -echo "mingw32 support $mingw32" -echo "Audio drivers $audio_drv_list" -echo "Extra audio cards $audio_card_list" -echo "Mixer emulation $mixemu" -echo "VNC TLS support $vnc_tls" -if test "$vnc_tls" = "yes" ; then - echo " TLS CFLAGS $vnc_tls_cflags" - echo " TLS LIBS $vnc_tls_libs" -fi -if test -n "$sparc_cpu"; then - echo "Target Sparc Arch $sparc_cpu" -fi -echo "kqemu support $kqemu" -echo "brlapi support $brlapi" -echo "Documentation $build_docs" -[ ! -z "$uname_release" ] && \ -echo "uname -r $uname_release" -echo "NPTL support $nptl" -echo "vde support $vde" -echo "AIO support $aio" -echo "KVM support $kvm" - if test $sdl_too_old = "yes"; then echo "-> Your SDL version is too old - please upgrade to have SDL support" fi @@ -1690,4 +1639,55 @@ if test "$source_path_used" = "yes" ; then done fi +echo "Install prefix $prefix" +echo "BIOS directory $prefix$datasuffix" +echo "binary directory $prefix$binsuffix" +if test "$mingw32" = "no" ; then +echo "Manual directory $prefix$mansuffix" +echo "ELF interp prefix $interp_prefix" +fi +echo "Source path $source_path" +echo "C compiler $cc" +echo "Host C compiler $host_cc" +echo "ARCH_CFLAGS $ARCH_CFLAGS" +echo "make $make" +echo "install $install" +echo "host CPU $cpu" +echo "host big endian $bigendian" +echo "target list $target_list" +echo "gprof enabled $gprof" +echo "sparse enabled $sparse" +echo "profiler $profiler" +echo "static build $static" +echo "-Werror enabled $werror" +if test "$darwin" = "yes" ; then + echo "Cocoa support $cocoa" +fi +echo "SDL support $sdl" +if test "$sdl" != "no" ; then + echo "SDL static link $sdl_static" +fi +echo "curses support $curses" +echo "mingw32 support $mingw32" +echo "Audio drivers $audio_drv_list" +echo "Extra audio cards $audio_card_list" +echo "Mixer emulation $mixemu" +echo "VNC TLS support $vnc_tls" +if test "$vnc_tls" = "yes" ; then + echo " TLS CFLAGS $vnc_tls_cflags" + echo " TLS LIBS $vnc_tls_libs" +fi +if test -n "$sparc_cpu"; then + echo "Target Sparc Arch $sparc_cpu" +fi +echo "kqemu support $kqemu" +echo "brlapi support $brlapi" +echo "Documentation $build_docs" +[ ! -z "$uname_release" ] && \ +echo "uname -r $uname_release" +echo "NPTL support $nptl" +echo "vde support $vde" +echo "AIO support $aio" +echo "KVM support $kvm" + rm -f $TMPO $TMPC $TMPE $TMPS $TMPI -- 1.5.6.5