1 AC_INIT([gacela], [0.5], [jsf@jsancho.org])
2 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
5 CFLAGS="$CFLAGS -I/usr/include/freetype2"
8 LIBS="$LIBS -lreadline",
9 AC_MSG_ERROR([*** readline library not found!])
14 AC_MSG_ERROR([*** SDL library not found!])
16 AC_CHECK_LIB(SDL_image,
18 LIBS="$LIBS -lSDL_image",
19 AC_MSG_ERROR([*** SDL_image library not found!])
23 LIBS="$LIBS -lSDL_gfx",
24 AC_MSG_ERROR([*** SDL_gfx library not found!])
26 AC_CHECK_LIB(SDL_mixer,
28 LIBS="$LIBS -lSDL_mixer",
29 AC_MSG_ERROR([*** SDL_mixer library not found!])
34 AC_MSG_ERROR([*** GL library not found!])
39 AC_MSG_ERROR([*** GLU library not found!])
44 AC_MSG_ERROR([*** FTGL library not found!])
46 AC_CONFIG_SRCDIR([src/gacela_SDL.h])
47 AC_CONFIG_HEADERS([config.h])