2 AC_INIT([yoink],[0.1],[chaz@dogcows.com])
4 AC_CONFIG_SRCDIR([src/YoinkApp.cc])
15 AC_SEARCH_LIBS([glClear], [GL], [have_opengl=yes])
16 if test ! "x${have_opengl}" = xyes
18 AC_MSG_ERROR([libGL is required])
21 AC_SEARCH_LIBS([SDL_Init], [SDL], [have_sdl=yes])
22 if test ! "x${have_sdl}" = xyes
24 AC_MSG_ERROR([libSDL is required])
27 AC_SEARCH_LIBS([IMG_Load], [SDL_image], [have_sdlimage=yes])
28 if test ! "x${have_sdlimage}" = xyes
30 AC_MSG_ERROR([libSDL_image is required])
33 AC_SEARCH_LIBS([clock_gettime], [rt], [have_librt=yes])
34 if test "x${have_librt}" = xyes
36 AC_DEFINE([HAVE_LIBRT], 1, [high-resolution timer enabled])
39 AC_CONFIG_FILES([Makefile