X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=configure.in;h=1804a300c96355919f1dfe0ff56626f60e17cc0c;hp=3d08e2e2da6e427009006d260e5647d8d3118838;hb=9d48e750948aaf7b48ef3be16cbb4516f9b57719;hpb=3dcd4d3434423d03cd108dc69500c535321575c7 diff --git a/configure.in b/configure.in index 3d08e2e..1804a30 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,7 @@ AC_PREREQ([2.63]) AC_INIT(VoR, 0.5.4, jason@jasonwoof.com, vor) -AC_CONFIG_SRCDIR([file.h]) +AC_CONFIG_SRCDIR([config.h.in]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. @@ -12,9 +12,15 @@ AC_PROG_INSTALL AC_PROG_MAKE_SET # Checks for libraries. -AC_CHECK_LIB([SDL_image], [IMG_Load]) +AC_CHECK_LIB([SDL_image], [IMG_LoadPNG_RW]) AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio]) +SDL_VERSION=1.2.0 +AM_PATH_SDL($SDL_VERSION, + :, + AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) +) + # Checks for header files. AC_CHECK_HEADERS([inttypes.h stddef.h stdlib.h string.h unistd.h])