]> git.jsancho.org Git - gacela.git/blob - configure.ac
Include mobs in gacela module.
[gacela.git] / configure.ac
1 AC_INIT([gacela], [0.5], [jsf@jsancho.org])
2 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
3 AC_PROG_CC
4 GUILE_FLAGS
5 CFLAGS="$CFLAGS -I/usr/include/freetype2"
6 AC_CHECK_LIB(readline,
7         main,
8         LIBS="$LIBS -lreadline",
9         AC_MSG_ERROR([*** readline library not found!])
10 )
11 AC_CHECK_LIB(SDL,
12         main,
13         LIBS="$LIBS -lSDL",
14         AC_MSG_ERROR([*** SDL library not found!])
15 )
16 AC_CHECK_LIB(SDL_image,
17         main,
18         LIBS="$LIBS -lSDL_image",
19         AC_MSG_ERROR([*** SDL_image library not found!])
20 )
21 AC_CHECK_LIB(SDL_gfx,
22         main,
23         LIBS="$LIBS -lSDL_gfx",
24         AC_MSG_ERROR([*** SDL_gfx library not found!])
25 )
26 AC_CHECK_LIB(SDL_mixer,
27         main,
28         LIBS="$LIBS -lSDL_mixer",
29         AC_MSG_ERROR([*** SDL_mixer library not found!])
30 )
31 AC_CHECK_LIB(GL,
32         main,
33         LIBS="$LIBS -lGL",
34         AC_MSG_ERROR([*** GL library not found!])
35 )
36 AC_CHECK_LIB(GLU,
37         main,
38         LIBS="$LIBS -lGLU",
39         AC_MSG_ERROR([*** GLU library not found!])
40 )
41 AC_CHECK_LIB(ftgl,
42         main,
43         LIBS="$LIBS -lftgl",
44         AC_MSG_ERROR([*** FTGL library not found!])
45 )
46 AC_CONFIG_SRCDIR([src/gacela_SDL.h])
47 AC_CONFIG_HEADERS([config.h])
48 AC_CONFIG_FILES([
49     Makefile
50     src/Makefile
51 ])
52 AC_OUTPUT
53