diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..a16f206 --- /dev/null +++ b/configure.ac | |||
@@ -0,0 +1,28 @@ | |||
1 | # -*- Autoconf -*- | ||
2 | # Process this file with autoconf to produce a configure script. | ||
3 | |||
4 | AC_PREREQ([2.63]) | ||
5 | AC_INIT([Maze Of Life], [2.0], [BUG-REPORT-ADDRESS]) | ||
6 | AM_INIT_AUTOMAKE | ||
7 | AC_CONFIG_SRCDIR([src/mazeoflife.cpp]) | ||
8 | AC_CONFIG_HEADERS([config.h]) | ||
9 | |||
10 | # Checks for programs. | ||
11 | AC_PROG_CXX | ||
12 | AC_PROG_CC | ||
13 | |||
14 | # Checks for libraries. | ||
15 | PKG_CHECK_MODULES([SDL], [sdl >= 1.2]) | ||
16 | CXXFLAGS="$SDL_CFLAGS $CXXFLAGS" | ||
17 | LDFLAGS="$SDL_LIBS" | ||
18 | |||
19 | # Checks for header files. | ||
20 | |||
21 | # Checks for typedefs, structures, and compiler characteristics. | ||
22 | AC_HEADER_STDBOOL | ||
23 | |||
24 | # Checks for library functions. | ||
25 | AC_CHECK_FUNCS([atexit]) | ||
26 | |||
27 | AC_CONFIG_FILES([Makefile src/Makefile]) | ||
28 | AC_OUTPUT | ||