diff options
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index e23db07..489e0e2 100644 --- a/configure.ac +++ b/configure.ac @@ -16,8 +16,11 @@ GUILE_MODULE_REQUIRED([sdl mixer]) GUILE_MODULE_REQUIRED([sdl ttf]) GUILE_MODULE_REQUIRED([gl]) +dnl Freeimage doesn't have a pkg-config file, so use this primitive +dnl test instead. +AC_CHECK_LIB([freeimage], [FreeImage_GetVersion],, + [AC_MSG_ERROR([freeimage not found.])]) + PKG_CHECK_MODULES([GSL], [gsl]) -# Why doesn't freeimage have a pkg-config file? -#PKG_CHECK_MODULES([freeimage], [freeimage >= 3.0]) AC_OUTPUT |