# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_INIT([Fish Supper], [0.1.5], [], [fishsupper]) AC_PREREQ(2.59) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([src/Font.hpp]) #AC_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CXX AC_PROG_CC # Checks for libraries. AM_PATH_SDL([1.2.8]) AC_CHECK_LIB([SDL_image], [IMG_Load]) AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([stdlib.h]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_CONST # Checks for library functions. AC_FUNC_MALLOC AC_CHECK_FUNCS([atexit mkdir]) AC_CONFIG_FILES([Makefile src/Makefile data/Makefile data/images/Makefile data/images/titlescreen/Makefile data/images/getready/Makefile data/images/play/Makefile data/images/highscores/Makefile data/images/settings/Makefile data/images/fonts/Makefile data/levels/Makefile data/sounds/Makefile]) AC_OUTPUT