diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-01-04 23:49:02 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-01-04 23:49:02 +0000 |
commit | 590b7eed184838bc95710813fb5ceddffa43fe8d (patch) | |
tree | 4226bb1fa3f58d2e466d6782b253b6edd58d950c | |
parent | af5ad10728f8265846f64274edd69c01e6da77e5 (diff) | |
download | qemu-590b7eed184838bc95710813fb5ceddffa43fe8d.tar.gz qemu-590b7eed184838bc95710813fb5ceddffa43fe8d.tar.bz2 qemu-590b7eed184838bc95710813fb5ceddffa43fe8d.zip |
aalib support with SDL
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@531 c046a42c-6fe2-441c-8c8c-71466251a162
-rwxr-xr-x | configure | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -301,8 +301,18 @@ if test "$sdl" = "yes" ; then echo "CONFIG_SDL=yes" >> $config_mak echo "#define CONFIG_SDL 1" >> $config_h echo "SDL_LIBS=`sdl-config --libs`" >> $config_mak - echo "SDL_STATIC_LIBS=`sdl-config --static-libs`" >> $config_mak - echo "SDL_CFLAGS=`sdl-config --cflags`" >> $config_mak + aa="no" + `sdl-config --static-libs | grep \\\-laa > /dev/null` && aa="yes" + echo -n "SDL_STATIC_LIBS=`sdl-config --static-libs`" >> $config_mak + if [ "${aa}" = "yes" ] ; then + echo -n " `aalib-config --libs`" >> $config_mak ; + fi + echo "" >> $config_mak + 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 echo -n "VERSION=" >>$config_mak head $source_path/VERSION >>$config_mak |