view configure.ac @ 24:59790d015f25 works-incomplete

checkpoint
author Robert McIntyre <rlm@mit.edu>
date Sun, 04 Mar 2012 17:50:56 -0600
parents e0545ef33bb9
children 18eaae41bde3
line wrap: on
line source
1 AC_PREREQ([2.68])
3 AC_INIT([vba-rlm], [1.0])
5 AC_CONFIG_AUX_DIR([build-aux])
7 AM_INIT_AUTOMAKE([foreign dist-bzip2])
9 dnl TODO: change this to gba.cpp or something
10 AC_CONFIG_SRCDIR([src/lua/lopcodes.c])
11 AC_CONFIG_HEADERS([config.h])
13 # Checks for programs.
14 AC_PROG_CXX
15 AC_PROG_CC
16 AC_PROG_AWK
17 AC_PROG_INSTALL
18 AC_PROG_RANLIB
19 AC_PROG_CPP
20 AC_PROG_MKDIR_P
23 # Checks for libraries.
24 AC_CHECK_LIB([SDL], [SDL_Init])
25 AC_CHECK_LIB([pthread], [pthread_create])
29 # Checks for header files.
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 # Checks for typedefs, structures, and compiler characteristics.
33 AC_HEADER_STDBOOL
34 AC_C_INLINE
35 AC_TYPE_INT16_T
36 AC_TYPE_INT32_T
37 AC_TYPE_INT64_T
38 AC_TYPE_INT8_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
44 AC_CHECK_TYPES([ptrdiff_t])
46 # Checks for library functions.
47 AC_FUNC_ERROR_AT_LINE
48 AC_FUNC_FORK
49 AC_FUNC_MALLOC
50 AC_FUNC_MKTIME
51 AC_FUNC_REALLOC
52 AC_FUNC_STRCOLL
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])
58 AC_CONFIG_FILES([Makefile
59 src/Makefile
60 src/lua/Makefile
61 src/gb/Makefile
62 src/gba/Makefile
63 src/common/Makefile])
67 AC_OUTPUT