Mercurial > vba-linux
comparison 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 |
comparison
equal
deleted
inserted
replaced
17:75e5bb1e0aa1 | 18:ac56489c2ca6 |
---|---|
3 AC_INIT([vba-rlm], [1.0]) | 3 AC_INIT([vba-rlm], [1.0]) |
4 | 4 |
5 dnl TODO: change this to gba.cpp or something | 5 dnl TODO: change this to gba.cpp or something |
6 AC_CONFIG_SRCDIR([src/lua/lopcodes.c]) | 6 AC_CONFIG_SRCDIR([src/lua/lopcodes.c]) |
7 AC_CONFIG_HEADERS([config.h]) | 7 AC_CONFIG_HEADERS([config.h]) |
8 | |
9 | |
10 # Checks for programs. | |
11 AC_PROG_CXX | |
12 AC_PROG_CC | |
8 AC_PROG_RANLIB | 13 AC_PROG_RANLIB |
9 | 14 |
10 # Checks for header files. | 15 # Checks for header files. |
11 AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.h]) | 16 AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.h]) |
12 | 17 |
13 # Checks for typedefs, structures, and compiler characteristics. | 18 # Checks for typedefs, structures, and compiler characteristics. |
19 AC_HEADER_STDBOOL | |
20 AC_C_INLINE | |
14 AC_TYPE_SIZE_T | 21 AC_TYPE_SIZE_T |
15 AC_CHECK_TYPES([ptrdiff_t]) | 22 AC_CHECK_TYPES([ptrdiff_t]) |
16 | 23 |
17 # Checks for library functions. | 24 # Checks for library functions. |
18 AC_FUNC_ERROR_AT_LINE | 25 AC_FUNC_ERROR_AT_LINE |
19 AC_FUNC_MKTIME | 26 AC_FUNC_MKTIME |
27 AC_FUNC_MALLOC | |
20 AC_FUNC_REALLOC | 28 AC_FUNC_REALLOC |
21 AC_FUNC_STRCOLL | 29 AC_FUNC_STRCOLL |
22 AC_CHECK_FUNCS([floor localeconv memchr modf pow setlocale sqrt strchr strcspn strerror strpbrk strrchr strstr strtoul]) | 30 AC_CHECK_FUNCS([floor localeconv memchr memset dnl |
31 modf pow setlocale sqrt dnl | |
32 strchr strcspn strerror dnl | |
33 strpbrk strrchr strstr strtoul]) | |
23 | 34 |
24 AC_CONFIG_FILES([Makefile | 35 AC_CONFIG_FILES([Makefile |
25 src/Makefile | 36 src/Makefile |
26 src/lua/Makefile]) | 37 src/lua/Makefile |
38 src/gb/Makefile]) | |
27 | 39 |
28 AM_INIT_AUTOMAKE([dist-bzip2]) | 40 AM_INIT_AUTOMAKE([dist-bzip2]) |
29 | 41 |
30 AC_OUTPUT | 42 AC_OUTPUT |
31 | 43 |