From eaa2189f189eedce4c10fd0fe56af563ffc00cc5 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 7 Nov 2014 20:36:06 -0500 Subject: configure: Check for guile-sdl and guile-opengl. * configure.ac: Check for (sdl sdl), (sdl mixer), (sdl ttf), and (gl) modules. --- configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 414cbc4..e23db07 100644 --- a/configure.ac +++ b/configure.ac @@ -10,10 +10,12 @@ AC_CONFIG_FILES([Makefile doc/Makefile examples/Makefile data/Makefile]) AC_CONFIG_FILES([env], [chmod +x env]) AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) - -PKG_CHECK_MODULES([SDL], [sdl <= 1.3 sdl >= 1.2]) -PKG_CHECK_MODULES([SDL_tff], [SDL_ttf >= 2.0]) GUILE_PROGS([2.0.11]) +GUILE_MODULE_REQUIRED([sdl sdl]) +GUILE_MODULE_REQUIRED([sdl mixer]) +GUILE_MODULE_REQUIRED([sdl ttf]) +GUILE_MODULE_REQUIRED([gl]) + PKG_CHECK_MODULES([GSL], [gsl]) # Why doesn't freeimage have a pkg-config file? #PKG_CHECK_MODULES([freeimage], [freeimage >= 3.0]) -- cgit v1.2.3