diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index bdef4ce..61fd8d3 100644 --- a/configure.ac +++ b/configure.ac @@ -25,6 +25,16 @@ GUILE_PROGS GUILE_MODULE_REQUIRED([gl]) GUILE_MODULE_REQUIRED([sdl2]) +PKG_CHECK_MODULES([TURBOJPEG], [libturbojpeg]) +PKG_CHECK_VAR([TURBOJPEG_LIBDIR], [libturbojpeg], [libdir]) +AC_MSG_CHECKING([libturbojpeg library path]) +AS_IF([test "TURBOJPEG_LIBDIR" = "x"], [ + AC_MSG_FAILURE([Unable to identify libturbojpeg lib path.]) +], [ + AC_MSG_RESULT([$TURBOJPEG_LIBDIR]) +]) +AC_SUBST([TURBOJPEG_LIBDIR]) + PKG_CHECK_MODULES([OpenAL], [openal]) PKG_CHECK_VAR([OPENAL_LIBDIR], [openal], [libdir]) AC_MSG_CHECKING([OpenAL library path]) |