1AC_INIT(pongix, 0.4)
2AM_INIT_AUTOMAKE
3AC_PREREQ([2.50])
4AM_CONFIG_HEADER(config.h)
5
6AC_PROG_CC
7
8dnl Busca las bibliotecas SDL
9AC_CHECK_LIB(SDL, SDL_Init, , \
10	AC_MSG_ERROR([* Can't find SDL library: http://www.libsdl.org]))
11
12AC_CHECK_LIB(SDL_image, IMG_Load, , \
13	AC_MSG_ERROR([* Can't find SDL_image library: http://www.libsdl.org]))
14
15AC_CHECK_LIB(SDL_net, SDLNet_Init, , \
16	AC_MSG_ERROR([* Can't find SDLNet_Init library: http://www.libsdl.org]))
17
18
19AC_SUBST(DEPS_CFLAGS)
20AC_SUBST(DEPS_LIBS)
21
22AC_OUTPUT([
23Makefile
24src/Makefile
25data/Makefile
26])
27