annotate configure.ac @ 18:ac56489c2ca6

need to fix NLS.h problem
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 12:06:10 -0600
parents 3c287cb0ace6
children 5e8e5083da94
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@9 5 dnl TODO: change this to gba.cpp or something
rlm@12 6 AC_CONFIG_SRCDIR([src/lua/lopcodes.c])
rlm@9 7 AC_CONFIG_HEADERS([config.h])
rlm@18 8
rlm@18 9
rlm@18 10 # Checks for programs.
rlm@18 11 AC_PROG_CXX
rlm@18 12 AC_PROG_CC
rlm@9 13 AC_PROG_RANLIB
rlm@9 14
rlm@9 15 # Checks for header files.
rlm@9 16 AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.h])
rlm@9 17
rlm@9 18 # Checks for typedefs, structures, and compiler characteristics.
rlm@18 19 AC_HEADER_STDBOOL
rlm@18 20 AC_C_INLINE
rlm@9 21 AC_TYPE_SIZE_T
rlm@9 22 AC_CHECK_TYPES([ptrdiff_t])
rlm@9 23
rlm@9 24 # Checks for library functions.
rlm@9 25 AC_FUNC_ERROR_AT_LINE
rlm@9 26 AC_FUNC_MKTIME
rlm@18 27 AC_FUNC_MALLOC
rlm@9 28 AC_FUNC_REALLOC
rlm@9 29 AC_FUNC_STRCOLL
rlm@18 30 AC_CHECK_FUNCS([floor localeconv memchr memset dnl
rlm@18 31 modf pow setlocale sqrt dnl
rlm@18 32 strchr strcspn strerror dnl
rlm@18 33 strpbrk strrchr strstr strtoul])
rlm@9 34
rlm@8 35 AC_CONFIG_FILES([Makefile
rlm@8 36 src/Makefile
rlm@18 37 src/lua/Makefile
rlm@18 38 src/gb/Makefile])
rlm@8 39
rlm@6 40 AM_INIT_AUTOMAKE([dist-bzip2])
rlm@6 41
rlm@6 42 AC_OUTPUT
rlm@6 43