Mercurial > vba-clojure
comparison configure.ac @ 21:e0545ef33bb9
trying to fix network problem
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 04 Mar 2012 16:56:20 -0600 |
parents | 5e8e5083da94 |
children | 18eaae41bde3 |
comparison
equal
deleted
inserted
replaced
20:ecd30c5e2f5a | 21:e0545ef33bb9 |
---|---|
8 | 8 |
9 dnl TODO: change this to gba.cpp or something | 9 dnl TODO: change this to gba.cpp or something |
10 AC_CONFIG_SRCDIR([src/lua/lopcodes.c]) | 10 AC_CONFIG_SRCDIR([src/lua/lopcodes.c]) |
11 AC_CONFIG_HEADERS([config.h]) | 11 AC_CONFIG_HEADERS([config.h]) |
12 | 12 |
13 | |
14 # Checks for programs. | 13 # Checks for programs. |
15 AC_PROG_CXX | 14 AC_PROG_CXX |
16 AC_PROG_CC | 15 AC_PROG_CC |
16 AC_PROG_AWK | |
17 AC_PROG_INSTALL | |
17 AC_PROG_RANLIB | 18 AC_PROG_RANLIB |
19 AC_PROG_CPP | |
20 AC_PROG_MKDIR_P | |
18 | 21 |
19 | 22 |
20 | 23 # Checks for libraries. |
21 # SDL stuff | 24 AC_CHECK_LIB([SDL], [SDL_Init]) |
22 SDL_VERSION=1.2.2 | 25 AC_CHECK_LIB([pthread], [pthread_create]) |
23 AM_PATH_SDL($SDL_VERSION,[ | |
24 ],[ | |
25 AC_MSG_ERROR([*** Couldn't find SDL library (version >= $SDL_VERSION).]) | |
26 ]) | |
27 | 26 |
28 | 27 |
29 | 28 |
30 # Checks for header files. | 29 # Checks for header files. |
31 AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.h]) | 30 AC_CHECK_HEADERS([arpa/inet.h limits.h locale.h malloc.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h strings.h sys/socket.h unistd.h]) |
32 | 31 |
33 # Checks for typedefs, structures, and compiler characteristics. | 32 # Checks for typedefs, structures, and compiler characteristics. |
34 AC_HEADER_STDBOOL | 33 AC_HEADER_STDBOOL |
35 AC_C_INLINE | 34 AC_C_INLINE |
35 AC_TYPE_INT16_T | |
36 AC_TYPE_INT32_T | |
37 AC_TYPE_INT64_T | |
38 AC_TYPE_INT8_T | |
36 AC_TYPE_SIZE_T | 39 AC_TYPE_SIZE_T |
40 AC_TYPE_UINT16_T | |
41 AC_TYPE_UINT32_T | |
42 AC_TYPE_UINT64_T | |
43 AC_TYPE_UINT8_T | |
37 AC_CHECK_TYPES([ptrdiff_t]) | 44 AC_CHECK_TYPES([ptrdiff_t]) |
38 | 45 |
39 # Checks for library functions. | 46 # Checks for library functions. |
40 AC_FUNC_ERROR_AT_LINE | 47 AC_FUNC_ERROR_AT_LINE |
48 AC_FUNC_FORK | |
49 AC_FUNC_MALLOC | |
41 AC_FUNC_MKTIME | 50 AC_FUNC_MKTIME |
42 AC_FUNC_MALLOC | |
43 AC_FUNC_REALLOC | 51 AC_FUNC_REALLOC |
44 AC_FUNC_STRCOLL | 52 AC_FUNC_STRCOLL |
45 AC_CHECK_FUNCS([floor localeconv memchr memset dnl | 53 AC_CHECK_FUNCS([floor ftruncate gethostbyname gethostname inet_ntoa localeconv memchr memset modf pow setlocale socket sqrt strcasecmp strchr strcspn strdup strerror strpbrk strrchr strstr strtoul]) |
46 modf pow setlocale sqrt dnl | 54 |
47 strchr strcspn strerror dnl | 55 |
48 strpbrk strrchr strstr strtoul]) | 56 |
49 | 57 |
50 AC_CONFIG_FILES([Makefile | 58 AC_CONFIG_FILES([Makefile |
51 src/Makefile | 59 src/Makefile |
52 src/lua/Makefile | 60 src/lua/Makefile |
53 src/gb/Makefile | 61 src/gb/Makefile |