# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.61]) AC_INIT([revenge], [1.0.1], [z3ro.geek@gmail.com]) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR([config.h.in]) AC_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CC AC_PROG_MAKE_SET # Checks for libraries. # FIXME: Replace `main' with a function in `-lGL': AC_CHECK_LIB([GL], [main]) # FIXME: Replace `main' with a function in `-lSDL': AC_CHECK_LIB([SDL], [main]) # FIXME: Replace `main' with a function in `-lpci': AC_CHECK_LIB([pci], [main]) # FIXME: Replace `main' with a function in `-lz': AC_CHECK_LIB([z], [main]) # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([fcntl.h memory.h stdint.h stdlib.h string.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_TYPE_UINT32_T # Checks for library functions. AC_FUNC_MALLOC AC_FUNC_MMAP AC_CHECK_FUNCS([mkdir munmap strerror]) AC_CONFIG_FILES([Makefile src/Makefile]) AC_OUTPUT