comparison 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 6803cb8a6ebf
comparison
equal deleted inserted replaced
29:2fa26addb901 30:48369c6aeaa0
19 AC_PROG_CPP 19 AC_PROG_CPP
20 AC_PROG_MKDIR_P 20 AC_PROG_MKDIR_P
21 AC_PATH_PROG(NASM, nasm) 21 AC_PATH_PROG(NASM, nasm)
22 22
23 # Checks for libraries. 23 # Checks for libraries.
24 AC_CHECK_LIB(z, gzopen,
25 , AC_MSG_ERROR([*** Cannot compile without zlib.]))
26 AC_CHECK_LIB(png, png_create_write_struct,
27 , AC_MSG_ERROR([*** Cannot compile without libpng.]), [-lz])
28
29 SDL_VERSION=1.2.2
30 AM_PATH_SDL($SDL_VERSION, :,
31 AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]))
24 AC_CHECK_LIB([SDL], [SDL_Init]) 32 AC_CHECK_LIB([SDL], [SDL_Init])
33
25 AC_CHECK_LIB([pthread], [pthread_create]) 34 AC_CHECK_LIB([pthread], [pthread_create])
26 35
27 36
28 37
29 # Checks for header files. 38 # Checks for header files.
59 src/gb/Makefile 68 src/gb/Makefile
60 src/gba/Makefile 69 src/gba/Makefile
61 src/common/Makefile 70 src/common/Makefile
62 src/SFMT/Makefile 71 src/SFMT/Makefile
63 src/filters/Makefile 72 src/filters/Makefile
73 src/prof/Makefile
64 src/sdl/Makefile]) 74 src/sdl/Makefile])
65 75
66 76
67 77
78 ### RLM: investigate this further
79 CXXFLAGS="$CXXFLAGS -DC_CORE"
80
81
68 AC_OUTPUT 82 AC_OUTPUT
69 83