Fixed a build problem.
[gljewel.git] / configure.ac
bloba72bffaf535394e790763201f3ba3fc05a333f8f
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 # Copyright 2008 Stephen M. Webb  <stephen.webb@bregmasoft.ca>
6 AC_PREREQ(2.61)
7 AC_COPYRIGHT([Copyright 2008 Stephen M. Webb  <stephen.webb@bregmasoft.ca>])
8 AC_INIT([gljewel], [1.2], [stephen.webb@bregmasoft.ca])
9 AC_CONFIG_AUX_DIR([config])
10 AC_CONFIG_MACRO_DIR([config])
11 AC_CANONICAL_TARGET
12 AM_INIT_AUTOMAKE([gnu 1.9 -Wno-syntax -Wall])
13 AC_CONFIG_HEADERS([gljewel_config.h])
15 # Checks for programs.
16 AC_PROG_CC
17 AC_PROG_INSTALL
19 # Checks for header files.
20 AC_HEADER_STDC
21 AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h sys/time.h unistd.h])
23 # Checks for typedefs, structures, and compiler characteristics.
24 AC_C_CONST
25 AC_TYPE_SIZE_T
26 AC_HEADER_STDBOOL
28 # Checks for library functions.
29 AC_FUNC_FORK
30 AC_FUNC_MALLOC
31 AC_FUNC_REALLOC
32 AC_TYPE_SIGNAL
33 AC_FUNC_STAT
34 AC_FUNC_VPRINTF
35 AC_CHECK_FUNCS([memmove memset strerror strstr])
37 AM_PATH_SDL([1.2.5])
38 ACX_PTHREAD
39 AX_CHECK_GL
41 AC_CONFIG_FILES([Makefile])
42 AC_OUTPUT