Mercurial > vba-clojure
annotate configure.ac @ 19:5e8e5083da94
brought in common and gba, fixed problems with outdated Makefile.am files in both of these packages
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 04 Mar 2012 14:33:52 -0600 |
parents | ac56489c2ca6 |
children | e0545ef33bb9 |
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 |
rlm@18 | 14 # Checks for programs. |
rlm@18 | 15 AC_PROG_CXX |
rlm@18 | 16 AC_PROG_CC |
rlm@9 | 17 AC_PROG_RANLIB |
rlm@9 | 18 |
rlm@19 | 19 |
rlm@19 | 20 |
rlm@19 | 21 # SDL stuff |
rlm@19 | 22 SDL_VERSION=1.2.2 |
rlm@19 | 23 AM_PATH_SDL($SDL_VERSION,[ |
rlm@19 | 24 ],[ |
rlm@19 | 25 AC_MSG_ERROR([*** Couldn't find SDL library (version >= $SDL_VERSION).]) |
rlm@19 | 26 ]) |
rlm@19 | 27 |
rlm@19 | 28 |
rlm@19 | 29 |
rlm@9 | 30 # Checks for header files. |
rlm@9 | 31 AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.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@9 | 36 AC_TYPE_SIZE_T |
rlm@9 | 37 AC_CHECK_TYPES([ptrdiff_t]) |
rlm@9 | 38 |
rlm@9 | 39 # Checks for library functions. |
rlm@9 | 40 AC_FUNC_ERROR_AT_LINE |
rlm@9 | 41 AC_FUNC_MKTIME |
rlm@18 | 42 AC_FUNC_MALLOC |
rlm@9 | 43 AC_FUNC_REALLOC |
rlm@9 | 44 AC_FUNC_STRCOLL |
rlm@18 | 45 AC_CHECK_FUNCS([floor localeconv memchr memset dnl |
rlm@18 | 46 modf pow setlocale sqrt dnl |
rlm@18 | 47 strchr strcspn strerror dnl |
rlm@18 | 48 strpbrk strrchr strstr strtoul]) |
rlm@9 | 49 |
rlm@8 | 50 AC_CONFIG_FILES([Makefile |
rlm@8 | 51 src/Makefile |
rlm@18 | 52 src/lua/Makefile |
rlm@19 | 53 src/gb/Makefile |
rlm@19 | 54 src/gba/Makefile |
rlm@19 | 55 src/common/Makefile]) |
rlm@8 | 56 |
rlm@19 | 57 |
rlm@6 | 58 |
rlm@6 | 59 AC_OUTPUT |
rlm@6 | 60 |