1 AC_INIT([gacela], [0.5], [jsf@jsancho.org])
2 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
7 for sdllib in SDL SDL_image SDL_gfx SDL_mixer ; do
8 AC_CHECK_LIB(${sdllib}, main, [SDL_LIBS="-l${sdllib} $SDL_LIBS"], AC_MSG_ERROR([*** ${sdllib} library not found!]))
10 for gllib in GL GLU ; do
11 AC_CHECK_LIB(${gllib}, main, [GL_LIBS="-l${gllib} $GL_LIBS"], AC_MSG_ERROR([*** ${gllib} library not found!]))
13 AC_CHECK_LIB(ftgl, main, [FTGL_LIBS="-lftgl $FTGL_LIBS"], AC_MSG_ERROR([*** FTGL library not found!]))
15 AC_CONFIG_MACRO_DIR([m4])
16 AC_CONFIG_SRCDIR([src/sdl.c])
17 AC_CONFIG_HEADERS([config.h])