Mercurial > vba-linux
view configure.ac @ 19:5e8e5083da94
brought in common and gba, fixed problems with outdated Makefile.am files in both of these packages
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 04 Mar 2012 14:33:52 -0600 |
parents | ac56489c2ca6 |
children | e0545ef33bb9 |
line wrap: on
line source
1 AC_PREREQ([2.68])3 AC_INIT([vba-rlm], [1.0])5 AC_CONFIG_AUX_DIR([build-aux])7 AM_INIT_AUTOMAKE([foreign dist-bzip2])9 dnl TODO: change this to gba.cpp or something10 AC_CONFIG_SRCDIR([src/lua/lopcodes.c])11 AC_CONFIG_HEADERS([config.h])14 # Checks for programs.15 AC_PROG_CXX16 AC_PROG_CC17 AC_PROG_RANLIB21 # SDL stuff22 SDL_VERSION=1.2.223 AM_PATH_SDL($SDL_VERSION,[24 ],[25 AC_MSG_ERROR([*** Couldn't find SDL library (version >= $SDL_VERSION).])26 ])30 # Checks for header files.31 AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.h])33 # Checks for typedefs, structures, and compiler characteristics.34 AC_HEADER_STDBOOL35 AC_C_INLINE36 AC_TYPE_SIZE_T37 AC_CHECK_TYPES([ptrdiff_t])39 # Checks for library functions.40 AC_FUNC_ERROR_AT_LINE41 AC_FUNC_MKTIME42 AC_FUNC_MALLOC43 AC_FUNC_REALLOC44 AC_FUNC_STRCOLL45 AC_CHECK_FUNCS([floor localeconv memchr memset dnl46 modf pow setlocale sqrt dnl47 strchr strcspn strerror dnl48 strpbrk strrchr strstr strtoul])50 AC_CONFIG_FILES([Makefile51 src/Makefile52 src/lua/Makefile53 src/gb/Makefile54 src/gba/Makefile55 src/common/Makefile])59 AC_OUTPUT