diff configure.ac @ 9:cd43af719f55

working on only lua
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 11:03:44 -0600
parents 08a8e09ca414
children 3c287cb0ace6
line wrap: on
line diff
     1.1 --- a/configure.ac	Sat Mar 03 10:54:39 2012 -0600
     1.2 +++ b/configure.ac	Sat Mar 03 11:03:44 2012 -0600
     1.3 @@ -1,5 +1,26 @@
     1.4 +AC_PREREQ([2.68])
     1.5 +
     1.6  AC_INIT([vba-rlm], [1.0])
     1.7  
     1.8 +dnl TODO: change this to gba.cpp or something
     1.9 +AC_CONFIG_SRCDIR([src/lua/src/lopcodes.c])
    1.10 +AC_CONFIG_HEADERS([config.h])
    1.11 +AC_PROG_RANLIB
    1.12 +
    1.13 +# Checks for header files.
    1.14 +AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.h])
    1.15 +
    1.16 +# Checks for typedefs, structures, and compiler characteristics.
    1.17 +AC_TYPE_SIZE_T
    1.18 +AC_CHECK_TYPES([ptrdiff_t])
    1.19 +
    1.20 +# Checks for library functions.
    1.21 +AC_FUNC_ERROR_AT_LINE
    1.22 +AC_FUNC_MKTIME
    1.23 +AC_FUNC_REALLOC
    1.24 +AC_FUNC_STRCOLL
    1.25 +AC_CHECK_FUNCS([floor localeconv memchr modf pow setlocale sqrt strchr strcspn strerror strpbrk strrchr strstr strtoul])
    1.26 +
    1.27  AC_CONFIG_FILES([Makefile 
    1.28  	         src/Makefile
    1.29                   src/lua/Makefile])