summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-11-07 20:10:09 -0500
committerDavid Thompson <dthompson2@worcester.edu>2014-11-07 20:40:08 -0500
commitdcebda9c82c71915ae353d7edd16dc1fac2bb57b (patch)
treeef59b528ff6ad0126829bfa57f3a9444e08883a2
parent8d8c4433aaca27531fc4f40b45aad7da3400475b (diff)
configure: Check for Guile >= 2.0.11.
* configure.ac: Test for Guile 2.0.11.
-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])