]> Dogcows Code - chaz/yoink/blob - configure.ac
new classes; yajl library
[chaz/yoink] / configure.ac
1 AC_PREREQ(2.60)
2 AC_INIT([yoink],[0.1],[chaz@dogcows.com])
3 AM_INIT_AUTOMAKE
4 AC_CONFIG_SRCDIR([src/YoinkApp.cc])
5
6 AC_PROG_CC
7 AC_PROG_CXX
8 AC_PROG_RANLIB
9 AC_PROG_INSTALL
10 AM_PROG_CC_C_O
11
12
13 AC_HEADER_STDC
14
15 AC_SEARCH_LIBS([glClear], [GL], [have_opengl=yes])
16 if test ! "x${have_opengl}" = xyes
17 then
18 AC_MSG_ERROR([libGL is required])
19 fi
20
21 AC_SEARCH_LIBS([SDL_Init], [SDL], [have_sdl=yes])
22 if test ! "x${have_sdl}" = xyes
23 then
24 AC_MSG_ERROR([libSDL is required])
25 fi
26
27 AC_SEARCH_LIBS([IMG_Load], [SDL_image], [have_sdlimage=yes])
28 if test ! "x${have_sdlimage}" = xyes
29 then
30 AC_MSG_ERROR([libSDL_image is required])
31 fi
32
33 AC_SEARCH_LIBS([clock_gettime], [rt], [have_librt=yes])
34 if test "x${have_librt}" = xyes
35 then
36 AC_DEFINE([HAVE_LIBRT], 1, [high-resolution timer enabled])
37 fi
38
39 AC_CONFIG_FILES([Makefile
40 yajl/Makefile
41 src/Makefile])
42 AC_OUTPUT
43
This page took 0.031101 seconds and 5 git commands to generate.