# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.61) AC_INIT(BomberMan, 0.1.0, webmastertiky@gmail.com) AM_INIT_AUTOMAKE(BomberMan, 0.1.0, webmastertiky@gmail.com) AC_CONFIG_SRCDIR([src/main.cpp]) AC_CONFIG_HEADER([config.h]) CXXFLAGS="-Wall -O" # Checks for programs. AC_PROG_CXX AC_PROG_CC # Checks for libraries. # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([stdlib.h iostream string vector SDL/SDL.h]) AC_CHECK_LIB([SDL], [SDL_Init]) # Checks for typedefs, structures, and compiler characteristics. AC_HEADER_STDBOOL AC_C_CONST # Checks for library functions. AC_OUTPUT(Makefile src/Makefile)