diff configure.ac @ 18:ac56489c2ca6

need to fix NLS.h problem
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 12:06:10 -0600
parents 3c287cb0ace6
children 5e8e5083da94
line wrap: on
line diff
     1.1 --- a/configure.ac	Sat Mar 03 11:44:47 2012 -0600
     1.2 +++ b/configure.ac	Sat Mar 03 12:06:10 2012 -0600
     1.3 @@ -5,25 +5,37 @@
     1.4  dnl TODO: change this to gba.cpp or something
     1.5  AC_CONFIG_SRCDIR([src/lua/lopcodes.c])
     1.6  AC_CONFIG_HEADERS([config.h])
     1.7 +
     1.8 +
     1.9 +# Checks for programs.
    1.10 +AC_PROG_CXX
    1.11 +AC_PROG_CC
    1.12  AC_PROG_RANLIB
    1.13  
    1.14  # Checks for header files.
    1.15  AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.h])
    1.16  
    1.17  # Checks for typedefs, structures, and compiler characteristics.
    1.18 +AC_HEADER_STDBOOL
    1.19 +AC_C_INLINE
    1.20  AC_TYPE_SIZE_T
    1.21  AC_CHECK_TYPES([ptrdiff_t])
    1.22  
    1.23  # Checks for library functions.
    1.24  AC_FUNC_ERROR_AT_LINE
    1.25  AC_FUNC_MKTIME
    1.26 +AC_FUNC_MALLOC
    1.27  AC_FUNC_REALLOC
    1.28  AC_FUNC_STRCOLL
    1.29 -AC_CHECK_FUNCS([floor localeconv memchr modf pow setlocale sqrt strchr strcspn strerror strpbrk strrchr strstr strtoul])
    1.30 +AC_CHECK_FUNCS([floor localeconv memchr memset  dnl
    1.31 +                modf pow setlocale sqrt         dnl
    1.32 +                strchr strcspn strerror         dnl
    1.33 +                strpbrk strrchr strstr strtoul])
    1.34  
    1.35  AC_CONFIG_FILES([Makefile 
    1.36  	         src/Makefile
    1.37 -                 src/lua/Makefile])
    1.38 +                 src/lua/Makefile
    1.39 +		 src/gb/Makefile])
    1.40  
    1.41  AM_INIT_AUTOMAKE([dist-bzip2])
    1.42