Patches
There are two patches included in the mail
1) qemu-sdl-error.diff - patch to capture output from the sdl compile test, and output it if there is an error at reporting time (and delete the file when finished)
2) qemu-sdl-whitespace.diff - patch to fix the indentation for the sdl-config section
Ben
062707/qemu/configure renamed from configure +9 -1
@@ -553,7 +553,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
@@ -562,6 +562,9 @@ sdl=yes fi fi +if [ -s /tmp/qemu-sdl-config.log ]; then + check_sdl_log=yes +fi # static link with sdl ? if test "$sdl" = "yes" ; then
@@ -688,6 +691,11 @@ 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: " + cat /tmp/qemu-sdl-config.log +fi +/usr/bin/rm -f /tmp/qemu-sdl-config.log #if test "$sdl_static" = "no"; then # echo "WARNING: cannot compile statically with SDL - qemu-fast won't have a graphical output" #fi
configure renamed from configure.ORIG +43 -43
103 lines not on this page · raw message