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!])
18 LIBS="$LIBS -lSDL_gfx",
19 AC_MSG_ERROR([*** SDL_gfx library not found!])
21 AC_CHECK_LIB(SDL_mixer,
23 LIBS="$LIBS -lSDL_mixer",
24 AC_MSG_ERROR([*** SDL_mixer library not found!])
29 AC_MSG_ERROR([*** GL library not found!])
34 AC_MSG_ERROR([*** GLU library not found!])
39 AC_MSG_ERROR([*** FTGL library not found!])
41 AC_CONFIG_SRCDIR([src/gacela_SDL.h])
42 AC_CONFIG_HEADERS([config.h])