comparison 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
comparison
equal deleted inserted replaced
18:ac56489c2ca6 19:5e8e5083da94
1 AC_PREREQ([2.68]) 1 AC_PREREQ([2.68])
2 2
3 AC_INIT([vba-rlm], [1.0]) 3 AC_INIT([vba-rlm], [1.0])
4
5 AC_CONFIG_AUX_DIR([build-aux])
6
7 AM_INIT_AUTOMAKE([foreign dist-bzip2])
4 8
5 dnl TODO: change this to gba.cpp or something 9 dnl TODO: change this to gba.cpp or something
6 AC_CONFIG_SRCDIR([src/lua/lopcodes.c]) 10 AC_CONFIG_SRCDIR([src/lua/lopcodes.c])
7 AC_CONFIG_HEADERS([config.h]) 11 AC_CONFIG_HEADERS([config.h])
8 12
9 13
10 # Checks for programs. 14 # Checks for programs.
11 AC_PROG_CXX 15 AC_PROG_CXX
12 AC_PROG_CC 16 AC_PROG_CC
13 AC_PROG_RANLIB 17 AC_PROG_RANLIB
18
19
20
21 # SDL stuff
22 SDL_VERSION=1.2.2
23 AM_PATH_SDL($SDL_VERSION,[
24 ],[
25 AC_MSG_ERROR([*** Couldn't find SDL library (version >= $SDL_VERSION).])
26 ])
27
28
14 29
15 # Checks for header files. 30 # Checks for header files.
16 AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.h]) 31 AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.h])
17 32
18 # Checks for typedefs, structures, and compiler characteristics. 33 # Checks for typedefs, structures, and compiler characteristics.
33 strpbrk strrchr strstr strtoul]) 48 strpbrk strrchr strstr strtoul])
34 49
35 AC_CONFIG_FILES([Makefile 50 AC_CONFIG_FILES([Makefile
36 src/Makefile 51 src/Makefile
37 src/lua/Makefile 52 src/lua/Makefile
38 src/gb/Makefile]) 53 src/gb/Makefile
54 src/gba/Makefile
55 src/common/Makefile])
39 56
40 AM_INIT_AUTOMAKE([dist-bzip2]) 57
41 58
42 AC_OUTPUT 59 AC_OUTPUT
43 60