510 |
|
|
511 |
if test "$target_user_only" = "no"; then |
if test "$target_user_only" = "no"; then |
512 |
if test "$target_softmmu" = "no" -o "$static" = "yes"; then |
if test "$target_softmmu" = "no" -o "$static" = "yes"; then |
513 |
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 |
|
514 |
else |
else |
515 |
if test "$sdl" = "yes" ; then |
sdl1=$sdl |
516 |
echo "#define CONFIG_SDL 1" >> $config_h |
fi |
517 |
echo "CONFIG_SDL=yes" >> $config_mak |
if test "$sdl1" = "yes" ; then |
518 |
|
echo "#define CONFIG_SDL 1" >> $config_h |
519 |
|
echo "CONFIG_SDL=yes" >> $config_mak |
520 |
|
if test "$target_softmmu" = "no" -o "$static" = "yes"; then |
521 |
|
echo "SDL_LIBS=$sdl_static_libs" >> $config_mak |
522 |
|
else |
523 |
echo "SDL_LIBS=`$sdl_config --libs`" >> $config_mak |
echo "SDL_LIBS=`$sdl_config --libs`" >> $config_mak |
524 |
fi |
fi |
525 |
|
echo -n "SDL_CFLAGS=`$sdl_config --cflags`" >> $config_mak |
526 |
|
if [ "${aa}" = "yes" ] ; then |
527 |
|
echo -n " `aalib-config --cflags`" >> $config_mak ; |
528 |
|
fi |
529 |
|
echo "" >> $config_mak |
530 |
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 |
|
531 |
fi |
fi |
532 |
|
|
533 |
done # for target in $targets |
done # for target in $targets |