Changeset 370

Show
Ignore:
Timestamp:
07/24/07 17:56:22 (1 year ago)
Author:
takkaria
Message:

Fix SDL sound support with autoconf. (see #238)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/angband-3.0.8/configure.ac

    r299 r370  
    183183 
    184184        if test "$found_sdl_mixer" = "yes"; then 
    185                 AC_DEFINE(SDL_SOUND, 1, [Define to 1 if using SDL_mixer sound support and it's found.]) 
     185                AC_DEFINE(SOUND_SDL, 1, [Define to 1 if using SDL_mixer sound support and it's found.]) 
     186                SDL_CFLAGS=`sdl-config --cflags` 
     187                CFLAGS="${CFLAGS} ${SDL_CFLAGS}" 
    186188                LDFLAGS="${LDFLAGS} -lSDL_mixer" 
    187189        fi