Mercurial > vba-linux
diff 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 |
line wrap: on
line diff
1.1 --- a/configure.ac Sat Mar 03 12:06:10 2012 -0600 1.2 +++ b/configure.ac Sun Mar 04 14:33:52 2012 -0600 1.3 @@ -2,6 +2,10 @@ 1.4 1.5 AC_INIT([vba-rlm], [1.0]) 1.6 1.7 +AC_CONFIG_AUX_DIR([build-aux]) 1.8 + 1.9 +AM_INIT_AUTOMAKE([foreign dist-bzip2]) 1.10 + 1.11 dnl TODO: change this to gba.cpp or something 1.12 AC_CONFIG_SRCDIR([src/lua/lopcodes.c]) 1.13 AC_CONFIG_HEADERS([config.h]) 1.14 @@ -12,6 +16,17 @@ 1.15 AC_PROG_CC 1.16 AC_PROG_RANLIB 1.17 1.18 + 1.19 + 1.20 +# SDL stuff 1.21 +SDL_VERSION=1.2.2 1.22 +AM_PATH_SDL($SDL_VERSION,[ 1.23 +],[ 1.24 +AC_MSG_ERROR([*** Couldn't find SDL library (version >= $SDL_VERSION).]) 1.25 +]) 1.26 + 1.27 + 1.28 + 1.29 # Checks for header files. 1.30 AC_CHECK_HEADERS([limits.h locale.h stddef.h stdlib.h string.h unistd.h]) 1.31 1.32 @@ -35,9 +50,11 @@ 1.33 AC_CONFIG_FILES([Makefile 1.34 src/Makefile 1.35 src/lua/Makefile 1.36 - src/gb/Makefile]) 1.37 + src/gb/Makefile 1.38 + src/gba/Makefile 1.39 + src/common/Makefile]) 1.40 1.41 -AM_INIT_AUTOMAKE([dist-bzip2]) 1.42 + 1.43 1.44 AC_OUTPUT 1.45