JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
made common-sense changes to configure.in
[vor.git] / configure.in
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.63])
5 AC_INIT(VoR, 0.5.4, jason@jasonwoof.com, vor)
6 AC_CONFIG_SRCDIR([file.h])
7 AC_CONFIG_HEADERS([config.h])
8
9 # Checks for programs.
10 AC_PROG_CC
11 AC_PROG_INSTALL
12 AC_PROG_MAKE_SET
13
14 # Checks for libraries.
15 AC_CHECK_LIB([SDL_image], [IMG_Load])
16 AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio])
17
18 # Checks for header files.
19 AC_CHECK_HEADERS([inttypes.h stddef.h stdlib.h string.h unistd.h])
20
21 # Checks for typedefs, structures, and compiler characteristics.
22 AC_HEADER_STDBOOL
23 AC_C_INLINE
24 AC_TYPE_INT8_T
25 AC_TYPE_SIZE_T
26 AC_TYPE_UINT16_T
27 AC_TYPE_UINT32_T
28 AC_TYPE_UINT8_T
29
30 # Checks for library functions.
31 AC_FUNC_MALLOC
32 AC_CHECK_FUNCS([atexit memset sqrt strdup])
33
34 AC_CONFIG_FILES([Makefile])
35 AC_OUTPUT