summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac11
1 files changed, 2 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index fedfda9..414cbc4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,21 +6,14 @@ AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([color-tests -Wall -Wno-portability foreign])
AM_SILENT_RULES([yes])
-GUILE_PROGS
-
-if $GUILE_TOOLS | grep -q compile; then
- # everything cool
- true
-else
- AC_MSG_ERROR([Guile 2.0 required.])
-fi
-
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])
PKG_CHECK_MODULES([GSL], [gsl])
# Why doesn't freeimage have a pkg-config file?
#PKG_CHECK_MODULES([freeimage], [freeimage >= 3.0])