2 # Process this file with autoconf to produce a configure script.
5 AC_INIT(VoR, 0.5.4, jason@jasonwoof.com, vor)
6 AC_CONFIG_SRCDIR([config.h.in])
7 AC_CONFIG_HEADERS([config.h])
14 # Checks for libraries.
15 AC_CHECK_LIB([SDL_image], [IMG_LoadPNG_RW])
16 AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio])
19 AM_PATH_SDL($SDL_VERSION,
21 AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
24 # Checks for header files.
25 AC_CHECK_HEADERS([inttypes.h stddef.h stdlib.h string.h unistd.h])
27 # Checks for typedefs, structures, and compiler characteristics.
36 # Checks for library functions.
38 AC_CHECK_FUNCS([atexit memset sqrt strdup])
40 AC_CONFIG_FILES([Makefile])