1 AC_INIT([gacela], [0.5], [jsf@jsancho.org])
2 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
5 CFLAGS="$CFLAGS -I/usr/include/freetype2"
9 AC_MSG_ERROR([*** SDL library not found!])
11 AC_CHECK_LIB(SDL_image,
13 LIBS="$LIBS -lSDL_image",
14 AC_MSG_ERROR([*** SDL_image library not found!])
16 AC_CHECK_LIB(SDL_mixer,
18 LIBS="$LIBS -lSDL_mixer",
19 AC_MSG_ERROR([*** SDL_mixer library not found!])
24 AC_MSG_ERROR([*** GL library not found!])
29 AC_MSG_ERROR([*** GLU library not found!])
34 AC_MSG_ERROR([*** FTGL library not found!])
36 AC_CONFIG_SRCDIR([src/gacela_SDL.h])
37 AC_CONFIG_HEADERS([config.h])