123456789101112131415161718192021222324252627282930313233343536 |
- # -*- Autoconf -*-
- # Process this file with autoconf to produce a configure script.
-
- AC_PREREQ([2.67])
- AC_INIT(tansive)
- AM_INIT_AUTOMAKE(tansive, 0.1.1)
- AC_CONFIG_SRCDIR([src/map.c])
- AC_CONFIG_HEADERS([config/config.h])
-
- # Checks for programs.
- AC_PROG_CC
- AC_PROG_MAKE_SET
-
- # Checks for libraries.
-
- SDL_VERSION=1.1.3
- AM_PATH_SDL($SDL_VERSION,
- :,
- AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
- )
- CFLAGS="$CFLAGS $SDL_CFLAGS"
- LIBS="$LIBS $SDL_LIBS"
-
-
- # Checks for header files.
- AC_CHECK_HEADERS([stdlib.h string.h])
-
- # Checks for typedefs, structures, and compiler characteristics.
-
- # Checks for library functions.
- AC_FUNC_MALLOC
- AC_CHECK_FUNCS([bzero])
-
- AC_CONFIG_FILES([Makefile
- src/Makefile])
- AC_OUTPUT
|