Ignore:
Timestamp:
Jan 21, 2011, 1:05:06 AM (10 years ago)
Author:
sam
Message:

Add preliminary support for sound samples. Implement click.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r221 r253  
    4949
    5050# Use SDL?
    51 ac_cv_my_have_sdl="no"
     51ac_cv_my_have_sdl="yes"
    5252save_CPPFLAGS="${CPPFLAGS}"
    5353AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
     
    5656fi
    5757AC_CHECK_HEADERS(SDL_image.h,
    58  [ac_cv_my_have_sdl="yes"],
    59  [ac_cv_my_have_sdl="no"])
     58 [:],[ac_cv_my_have_sdl="no"])
     59AC_CHECK_HEADERS(SDL_mixer.h,
     60 [:],[ac_cv_my_have_sdl="no"])
    6061CPPFLAGS="${save_CPPFLAGS}"
    6162if test "${ac_cv_my_have_sdl}" != "no"; then
     
    6465AM_CONDITIONAL(USE_SDL, test "${ac_cv_my_have_sdl}" = "yes")
    6566
    66 if test "${ac_cv_my_have_sdl}" = "no" -a "${ac_cv_my_have_imlib2}" = "no"; then
    67   AC_MSG_ERROR([[cannot find SDL_Image or GTK+, please install one of them]])
     67if test "${ac_cv_my_have_sdl}" = "no"; then
     68  AC_MSG_ERROR([[One of SDL, SDL_Image or SDL_Mixer not found]])
    6869fi
    6970
     
    8990# How to use the Lol Engine inside this tree
    9091LOL_CFLAGS="-I \$(top_srcdir)/src `pkg-config --cflags sdl gl SDL_image`"
    91 LOL_LIBS="`pkg-config --libs sdl gl SDL_image`"
     92LOL_LIBS="`pkg-config --libs sdl gl SDL_image` -lSDL_mixer"
    9293
    9394if test "${enable_release}" = "yes"; then
Note: See TracChangeset for help on using the changeset viewer.