From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbGkS-00089K-Pi for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbGkJ-0007ym-Ey for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:20 -0400 Received: from [199.232.76.173] (port=39163 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbGkJ-0007yc-5A for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:15 -0400 Received: from mx2.redhat.com ([66.187.237.31]:55714) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbGkI-0004Jr-DS for qemu-devel@nongnu.org; Wed, 12 Aug 2009 12:32:14 -0400 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 n7CGWDGT018321 for ; Wed, 12 Aug 2009 12:32:13 -0400 From: Juan Quintela Date: Wed, 12 Aug 2009 18:29:53 +0200 Message-Id: <14a06af1091d2a8565f29ca727057ca418ed48ca.1250093910.git.quintela@redhat.com> In-Reply-To: <71025e96da7eb85957e11d9cf4530c1ee81577d5.1250093910.git.quintela@redhat.com> References: <71025e96da7eb85957e11d9cf4530c1ee81577d5.1250093910.git.quintela@redhat.com> In-Reply-To: References: Subject: [Qemu-devel] [PATCH 16/20] Add sdl to new feature convention List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- configure | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 7f0dc35..cc37a47 100755 --- a/configure +++ b/configure @@ -186,6 +186,7 @@ curses="" docs="" nptl="" pthread="" +sdl="" vde="" vnc_tls="" vnc_sasl="" @@ -222,7 +223,6 @@ kerneldir="" aix="no" blobs="yes" fdt="yes" -sdl="yes" xen="yes" pkgversion="" @@ -430,6 +430,8 @@ for opt do ;; --disable-sdl) sdl="no" ;; + --enable-sdl) sdl="yes" + ;; --fmod-lib=*) fmod_lib="$optarg" ;; --fmod-inc=*) fmod_inc="$optarg" @@ -646,6 +648,7 @@ echo " --disable-sparse disable sparse checker (default)" echo " --disable-strip disable stripping binaries" echo " --disable-werror disable compilation abort on warning" echo " --disable-sdl disable SDL" +echo " --enable-sdl enable SDL" echo " --enable-cocoa enable COCOA (Mac OS X only)" echo " --audio-drv-list=LIST set audio drivers list:" echo " Available drivers: $audio_possible_drivers" @@ -908,8 +911,7 @@ fi sdl_too_old=no -if test "$sdl" = "yes" ; then - sdl=no +if test "$sdl" != "no" ; then cat > $TMPC << EOF #include #undef main /* We don't want SDL to override our main() */ @@ -940,6 +942,11 @@ EOF sdl=no fi fi # static link + else # sdl not found + if test "$sdl" = "yes" ; then + feature_not_found "sdl" + fi + sdl=no fi # sdl compile test fi -- 1.6.2.5