Mercurial > vba-clojure
diff 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 |
line wrap: on
line diff
1.1 --- a/configure.ac Sun Mar 04 14:35:54 2012 -0600 1.2 +++ b/configure.ac Sun Mar 04 16:56:20 2012 -0600 1.3 @@ -10,42 +10,50 @@ 1.4 AC_CONFIG_SRCDIR([src/lua/lopcodes.c]) 1.5 AC_CONFIG_HEADERS([config.h]) 1.6 1.7 - 1.8 # Checks for programs. 1.9 AC_PROG_CXX 1.10 AC_PROG_CC 1.11 +AC_PROG_AWK 1.12 +AC_PROG_INSTALL 1.13 AC_PROG_RANLIB 1.14 +AC_PROG_CPP 1.15 +AC_PROG_MKDIR_P 1.16 1.17 1.18 - 1.19 -# SDL stuff 1.20 -SDL_VERSION=1.2.2 1.21 -AM_PATH_SDL($SDL_VERSION,[ 1.22 -],[ 1.23 -AC_MSG_ERROR([*** Couldn't find SDL library (version >= $SDL_VERSION).]) 1.24 -]) 1.25 +# Checks for libraries. 1.26 +AC_CHECK_LIB([SDL], [SDL_Init]) 1.27 +AC_CHECK_LIB([pthread], [pthread_create]) 1.28 1.29 1.30 1.31 # Checks for header files. 1.32 -AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.h]) 1.33 +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]) 1.34 1.35 # Checks for typedefs, structures, and compiler characteristics. 1.36 AC_HEADER_STDBOOL 1.37 AC_C_INLINE 1.38 +AC_TYPE_INT16_T 1.39 +AC_TYPE_INT32_T 1.40 +AC_TYPE_INT64_T 1.41 +AC_TYPE_INT8_T 1.42 AC_TYPE_SIZE_T 1.43 +AC_TYPE_UINT16_T 1.44 +AC_TYPE_UINT32_T 1.45 +AC_TYPE_UINT64_T 1.46 +AC_TYPE_UINT8_T 1.47 AC_CHECK_TYPES([ptrdiff_t]) 1.48 1.49 # Checks for library functions. 1.50 AC_FUNC_ERROR_AT_LINE 1.51 +AC_FUNC_FORK 1.52 +AC_FUNC_MALLOC 1.53 AC_FUNC_MKTIME 1.54 -AC_FUNC_MALLOC 1.55 AC_FUNC_REALLOC 1.56 AC_FUNC_STRCOLL 1.57 -AC_CHECK_FUNCS([floor localeconv memchr memset dnl 1.58 - modf pow setlocale sqrt dnl 1.59 - strchr strcspn strerror dnl 1.60 - strpbrk strrchr strstr strtoul]) 1.61 +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]) 1.62 + 1.63 + 1.64 + 1.65 1.66 AC_CONFIG_FILES([Makefile 1.67 src/Makefile