Mercurial > vba-clojure
diff configure.ac @ 30:48369c6aeaa0 compile-milestone
brought prof package in
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 04 Mar 2012 22:32:01 -0600 |
parents | 2efb971df515 |
children | f6ff410a87fd |
line wrap: on
line diff
1.1 --- a/configure.ac Sun Mar 04 21:09:22 2012 -0600 1.2 +++ b/configure.ac Sun Mar 04 22:32:01 2012 -0600 1.3 @@ -21,7 +21,16 @@ 1.4 AC_PATH_PROG(NASM, nasm) 1.5 1.6 # Checks for libraries. 1.7 +AC_CHECK_LIB(z, gzopen, 1.8 + , AC_MSG_ERROR([*** Cannot compile without zlib.])) 1.9 +AC_CHECK_LIB(png, png_create_write_struct, 1.10 + , AC_MSG_ERROR([*** Cannot compile without libpng.]), [-lz]) 1.11 + 1.12 +SDL_VERSION=1.2.2 1.13 +AM_PATH_SDL($SDL_VERSION, :, 1.14 + AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])) 1.15 AC_CHECK_LIB([SDL], [SDL_Init]) 1.16 + 1.17 AC_CHECK_LIB([pthread], [pthread_create]) 1.18 1.19 1.20 @@ -61,9 +70,14 @@ 1.21 src/common/Makefile 1.22 src/SFMT/Makefile 1.23 src/filters/Makefile 1.24 + src/prof/Makefile 1.25 src/sdl/Makefile]) 1.26 1.27 1.28 1.29 +### RLM: investigate this further 1.30 +CXXFLAGS="$CXXFLAGS -DC_CORE" 1.31 + 1.32 + 1.33 AC_OUTPUT 1.34