1 AC_INIT([gacela], [0.5], [jsf@jsancho.org])
2 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
8 AC_DEFUN([GACELA_DEPS],
10 AC_CHECK_LIB(${lib}, main, [$2="${$2} -l${lib}"], AC_MSG_ERROR([*** ${lib} library not found!]))
14 GACELA_DEPS(SDL SDL_image SDL_gfx SDL_mixer, SDL_LIBS)
15 GACELA_DEPS(GL GLU, GL_LIBS)
16 GACELA_DEPS(ftgl, FTGL_LIBS)
18 AC_CONFIG_MACRO_DIR([m4])
19 AC_CONFIG_SRCDIR([src/sdl.c])
20 AC_CONFIG_HEADERS([config.h])