Mercurial > vba-linux
annotate configure.ac @ 29:2fa26addb901
added version.h
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 04 Mar 2012 21:09:22 -0600 |
parents | 2efb971df515 |
children | 48369c6aeaa0 |
rev | line source |
---|---|
rlm@9 | 1 AC_PREREQ([2.68]) |
rlm@9 | 2 |
rlm@6 | 3 AC_INIT([vba-rlm], [1.0]) |
rlm@6 | 4 |
rlm@19 | 5 AC_CONFIG_AUX_DIR([build-aux]) |
rlm@19 | 6 |
rlm@19 | 7 AM_INIT_AUTOMAKE([foreign dist-bzip2]) |
rlm@19 | 8 |
rlm@9 | 9 dnl TODO: change this to gba.cpp or something |
rlm@12 | 10 AC_CONFIG_SRCDIR([src/lua/lopcodes.c]) |
rlm@9 | 11 AC_CONFIG_HEADERS([config.h]) |
rlm@18 | 12 |
rlm@18 | 13 # Checks for programs. |
rlm@18 | 14 AC_PROG_CXX |
rlm@18 | 15 AC_PROG_CC |
rlm@21 | 16 AC_PROG_AWK |
rlm@21 | 17 AC_PROG_INSTALL |
rlm@9 | 18 AC_PROG_RANLIB |
rlm@21 | 19 AC_PROG_CPP |
rlm@21 | 20 AC_PROG_MKDIR_P |
rlm@27 | 21 AC_PATH_PROG(NASM, nasm) |
rlm@19 | 22 |
rlm@21 | 23 # Checks for libraries. |
rlm@21 | 24 AC_CHECK_LIB([SDL], [SDL_Init]) |
rlm@21 | 25 AC_CHECK_LIB([pthread], [pthread_create]) |
rlm@19 | 26 |
rlm@19 | 27 |
rlm@19 | 28 |
rlm@9 | 29 # Checks for header files. |
rlm@28 | 30 AC_FUNC_ALLOCA |
rlm@28 | 31 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]) |
rlm@9 | 32 |
rlm@9 | 33 # Checks for typedefs, structures, and compiler characteristics. |
rlm@18 | 34 AC_HEADER_STDBOOL |
rlm@18 | 35 AC_C_INLINE |
rlm@21 | 36 AC_TYPE_INT16_T |
rlm@21 | 37 AC_TYPE_INT32_T |
rlm@21 | 38 AC_TYPE_INT64_T |
rlm@21 | 39 AC_TYPE_INT8_T |
rlm@9 | 40 AC_TYPE_SIZE_T |
rlm@21 | 41 AC_TYPE_UINT16_T |
rlm@21 | 42 AC_TYPE_UINT32_T |
rlm@21 | 43 AC_TYPE_UINT64_T |
rlm@21 | 44 AC_TYPE_UINT8_T |
rlm@9 | 45 AC_CHECK_TYPES([ptrdiff_t]) |
rlm@9 | 46 |
rlm@9 | 47 # Checks for library functions. |
rlm@9 | 48 AC_FUNC_ERROR_AT_LINE |
rlm@21 | 49 AC_FUNC_FORK |
rlm@21 | 50 AC_FUNC_MALLOC |
rlm@9 | 51 AC_FUNC_MKTIME |
rlm@9 | 52 AC_FUNC_REALLOC |
rlm@9 | 53 AC_FUNC_STRCOLL |
rlm@21 | 54 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]) |
rlm@21 | 55 |
rlm@8 | 56 AC_CONFIG_FILES([Makefile |
rlm@8 | 57 src/Makefile |
rlm@18 | 58 src/lua/Makefile |
rlm@19 | 59 src/gb/Makefile |
rlm@19 | 60 src/gba/Makefile |
rlm@26 | 61 src/common/Makefile |
rlm@27 | 62 src/SFMT/Makefile |
rlm@28 | 63 src/filters/Makefile |
rlm@28 | 64 src/sdl/Makefile]) |
rlm@8 | 65 |
rlm@19 | 66 |
rlm@6 | 67 |
rlm@6 | 68 AC_OUTPUT |
rlm@6 | 69 |