Changeset 253 for trunk/configure.ac
- Timestamp:
- Jan 21, 2011, 1:05:06 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r221 r253 49 49 50 50 # Use SDL? 51 ac_cv_my_have_sdl=" no"51 ac_cv_my_have_sdl="yes" 52 52 save_CPPFLAGS="${CPPFLAGS}" 53 53 AC_PATH_PROG(SDL_CONFIG, sdl-config, no) … … 56 56 fi 57 57 AC_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"]) 59 AC_CHECK_HEADERS(SDL_mixer.h, 60 [:],[ac_cv_my_have_sdl="no"]) 60 61 CPPFLAGS="${save_CPPFLAGS}" 61 62 if test "${ac_cv_my_have_sdl}" != "no"; then … … 64 65 AM_CONDITIONAL(USE_SDL, test "${ac_cv_my_have_sdl}" = "yes") 65 66 66 if test "${ac_cv_my_have_sdl}" = "no" -a "${ac_cv_my_have_imlib2}" = "no"; then67 AC_MSG_ERROR([[ cannot find SDL_Image or GTK+, please install one of them]])67 if test "${ac_cv_my_have_sdl}" = "no"; then 68 AC_MSG_ERROR([[One of SDL, SDL_Image or SDL_Mixer not found]]) 68 69 fi 69 70 … … 89 90 # How to use the Lol Engine inside this tree 90 91 LOL_CFLAGS="-I \$(top_srcdir)/src `pkg-config --cflags sdl gl SDL_image`" 91 LOL_LIBS="`pkg-config --libs sdl gl SDL_image` "92 LOL_LIBS="`pkg-config --libs sdl gl SDL_image` -lSDL_mixer" 92 93 93 94 if test "${enable_release}" = "yes"; then
Note: See TracChangeset
for help on using the changeset viewer.