From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HytnJ-0003i2-Cx for qemu-devel@nongnu.org; Thu, 14 Jun 2007 14:11:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HytnI-0003fp-BD for qemu-devel@nongnu.org; Thu, 14 Jun 2007 14:11:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HytnI-0003fV-00 for qemu-devel@nongnu.org; Thu, 14 Jun 2007 14:11:40 -0400 Received: from eastrmmtao107.cox.net ([68.230.240.59]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HytnH-000505-IH for qemu-devel@nongnu.org; Thu, 14 Jun 2007 14:11:39 -0400 Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao107.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20070614181136.XQOP7972.eastrmmtao107.cox.net@eastrmimpo02.cox.net> for ; Thu, 14 Jun 2007 14:11:36 -0400 Message-ID: <17566391.1181844697649.JavaMail.root@eastrmwml26.mgt.cox.net> Date: Thu, 14 Jun 2007 14:11:37 -0400 From: Ben Taylor MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_24790_27223505.1181844697584" Subject: [Qemu-devel] logging the sdl test error Reply-To: sol10x86@cox.net, 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 ------=_Part_24790_27223505.1181844697584 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit This is short configure patch which saves the output of the libsdl test comile output for a file which can be reviewed after configure runs. This allows for easier debugging of why the libSDL test failed. Ben ------=_Part_24790_27223505.1181844697584 Content-Type: text/x-patch; name=configure-sdl-err.diff Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=configure-sdl-err.diff --- qemu/configure.ORIG 2007-06-14 13:58:26.144281000 -0400 +++ qemu/configure 2007-06-14 14:07:40.975474000 -0400 @@ -547,7 +547,7 @@ int main( void ) { return SDL_Init (SDL_INIT_VIDEO); } EOF -if $cc -o $TMPE `$sdl_config --cflags 2> /dev/null` $TMPC `$sdl_config --libs 2> /dev/null` 2> /dev/null ; then +if $cc -o $TMPE `$sdl_config --cflags 2> /dev/null` $TMPC `$sdl_config --libs 2> /dev/null` 2> /tmp/qemu-sdl-config.log ; then _sdlversion=`$sdl_config --version | sed 's/[^0-9]//g'` if test "$_sdlversion" -lt 121 ; then sdl_too_old=yes @@ -572,6 +572,8 @@ fi # static link +else + check_sdl_log="yes" fi # sdl compile test fi # cross compilation @@ -682,6 +684,9 @@ if test $sdl_too_old = "yes"; then echo "-> Your SDL version is too old - please upgrade to have SDL support" fi +if test "$check_sdl_log" = "yes"; then + echo "The error log from compiling the libSDL test is in /tmp/qemu-sdl-config.log" +fi #if test "$sdl_static" = "no"; then # echo "WARNING: cannot compile statically with SDL - qemu-fast won't have a graphical output" #fi ------=_Part_24790_27223505.1181844697584--