1 AC_INIT([gacela], [0.5], [jsf@jsancho.org])
2 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
6 CFLAGS="$CFLAGS -I/usr/include/freetype2"
7 AC_CHECK_LIB(readline, main, AC_MSG_ERROR([*** readline library not found!]))
8 AC_CHECK_LIB(SDL, main, AC_MSG_ERROR([*** SDL library not found!]))
9 AC_CHECK_LIB(SDL_image, main, AC_MSG_ERROR([*** SDL_image library not found!]))
10 AC_CHECK_LIB(SDL_gfx, main, AC_MSG_ERROR([*** SDL_gfx library not found!]))
11 AC_CHECK_LIB(SDL_mixer, main, AC_MSG_ERROR([*** SDL_mixer library not found!]))
12 AC_CHECK_LIB(GL, main, AC_MSG_ERROR([*** GL library not found!]))
13 AC_CHECK_LIB(GLU, main, AC_MSG_ERROR([*** GLU library not found!]))
14 AC_CHECK_LIB(ftgl, main, AC_MSG_ERROR([*** FTGL library not found!]))
15 AC_CONFIG_SRCDIR([src/sdl.c])
16 AC_CONFIG_HEADERS([config.h])