Ignore:
Timestamp:
Apr 29, 2011, 1:15:05 AM (10 years ago)
Author:
Sam Hocevar
Message:

sdlport: make SDL_mixer mandatory. I'm not going to maintain legacy code
that cannot even play music.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/configure.ac

    r537 r551  
    5151save_CPPFLAGS="${CPPFLAGS}"
    5252CPPFLAGS="${CPPFLAGS} ${SDL_CFLAGS}"
    53 AC_CHECK_HEADERS(SDL/SDL_mixer.h, [ac_cv_my_have_sdl="yes"])
     53AC_CHECK_HEADERS(SDL/SDL_mixer.h, [ac_cv_my_have_sdl_mixer="yes"])
    5454CPPFLAGS="${save_CPPFLAGS}"
    55 if test "${ac_cv_my_have_sdl}" != "no"; then
    56   AC_DEFINE(USE_SDL_MIXER, 1, Define to 1 to use SDL_Mixer)
    57   LIBS="$LIBS -lSDL_mixer"
     55if test "${ac_cv_my_have_sdl_mixer}" = "no"; then
     56  AC_MSG_ERROR([*** SDL_mixer not found!])
    5857fi
     58LIBS="$LIBS -lSDL_mixer"
    5959
    6060if test "${enable_debug}" = "yes"; then
Note: See TracChangeset for help on using the changeset viewer.