Mercurial > vba-linux
view configure.ac @ 28:2efb971df515
bringing in SDL package
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 04 Mar 2012 21:06:50 -0600 |
parents | b970226568d2 |
children | 48369c6aeaa0 |
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 something10 AC_CONFIG_SRCDIR([src/lua/lopcodes.c])11 AC_CONFIG_HEADERS([config.h])13 # Checks for programs.14 AC_PROG_CXX15 AC_PROG_CC16 AC_PROG_AWK17 AC_PROG_INSTALL18 AC_PROG_RANLIB19 AC_PROG_CPP20 AC_PROG_MKDIR_P21 AC_PATH_PROG(NASM, nasm)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_FUNC_ALLOCA31 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 libintl.h])33 # Checks for typedefs, structures, and compiler characteristics.34 AC_HEADER_STDBOOL35 AC_C_INLINE36 AC_TYPE_INT16_T37 AC_TYPE_INT32_T38 AC_TYPE_INT64_T39 AC_TYPE_INT8_T40 AC_TYPE_SIZE_T41 AC_TYPE_UINT16_T42 AC_TYPE_UINT32_T43 AC_TYPE_UINT64_T44 AC_TYPE_UINT8_T45 AC_CHECK_TYPES([ptrdiff_t])47 # Checks for library functions.48 AC_FUNC_ERROR_AT_LINE49 AC_FUNC_FORK50 AC_FUNC_MALLOC51 AC_FUNC_MKTIME52 AC_FUNC_REALLOC53 AC_FUNC_STRCOLL54 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])56 AC_CONFIG_FILES([Makefile57 src/Makefile58 src/lua/Makefile59 src/gb/Makefile60 src/gba/Makefile61 src/common/Makefile62 src/SFMT/Makefile63 src/filters/Makefile64 src/sdl/Makefile])68 AC_OUTPUT