./configure without SDL
PATCH 1/1 ./configure without SDL
Hello,
The attached patch removes the annoying output produced by a missing sdl-config binary.
/ magnus
magnusd@work:~/qemu/cvs/qemu> ./configure
Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /home/magnusd/qemu/cvs/qemu C compiler gcc make make host CPU i386 host big endian no target list i386-user i386 i386-softmmu arm-user sparc-user ppc-user ppc-softmmu gprof enabled no static build no SDL support no SDL static link no mingw32 support no
WARNING: cannot compile statically with SDL - qemu-fast won't have a graphical output
./configure: line 1: sdl-config: command not found ./configure: line 1: sdl-config: command not found ./configure: line 1: sdl-config: command not found magnusd@work:~/qemu/cvs/qemu>
Index: configure
===================================================================
RCS file: /cvsroot/qemu/qemu/configure,v
retrieving revision 1.43
configure +1 -1
@@ -522,7 +522,7 @@ echo "SDL_LIBS=`$sdl_config --libs`" >> $config_mak fi fi - echo -n "SDL_CFLAGS=`$sdl_config --cflags`" >> $config_mak + echo -n "SDL_CFLAGS=`$sdl_config --cflags 2> /dev/null`" >> $config_mak if [ "${aa}" = "yes" ] ; then echo -n " `aalib-config --cflags`" >> $config_mak ; fi