Commit dbb2c921 authored by bellard's avatar bellard
Browse files

SDL config fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1123 c046a42c-6fe2-441c-8c8c-71466251a162
parent 0d1a29f9
...@@ -510,23 +510,24 @@ fi ...@@ -510,23 +510,24 @@ fi
if test "$target_user_only" = "no"; then if test "$target_user_only" = "no"; then
if test "$target_softmmu" = "no" -o "$static" = "yes"; then if test "$target_softmmu" = "no" -o "$static" = "yes"; then
if test "$sdl_static" = "yes" ; then sdl1=$sdl_static
echo "#define CONFIG_SDL 1" >> $config_h
echo "CONFIG_SDL=yes" >> $config_mak
echo "SDL_LIBS=$sdl_static_libs" >> $config_mak
fi
else else
if test "$sdl" = "yes" ; then sdl1=$sdl
echo "#define CONFIG_SDL 1" >> $config_h fi
echo "CONFIG_SDL=yes" >> $config_mak if test "$sdl1" = "yes" ; then
echo "#define CONFIG_SDL 1" >> $config_h
echo "CONFIG_SDL=yes" >> $config_mak
if test "$target_softmmu" = "no" -o "$static" = "yes"; then
echo "SDL_LIBS=$sdl_static_libs" >> $config_mak
else
echo "SDL_LIBS=`$sdl_config --libs`" >> $config_mak echo "SDL_LIBS=`$sdl_config --libs`" >> $config_mak
fi fi
echo -n "SDL_CFLAGS=`$sdl_config --cflags`" >> $config_mak
if [ "${aa}" = "yes" ] ; then
echo -n " `aalib-config --cflags`" >> $config_mak ;
fi
echo "" >> $config_mak
fi fi
echo -n "SDL_CFLAGS=`$sdl_config --cflags`" >> $config_mak
if [ "${aa}" = "yes" ] ; then
echo -n " `aalib-config --cflags`" >> $config_mak ;
fi
echo "" >> $config_mak
fi fi
done # for target in $targets done # for target in $targets
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment