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 b5a8925..66be3c0 100644 --- a/configure.ac +++ b/configure.ac @@ -23,4 +23,14 @@ GUILE_PROGS GUILE_MODULE_REQUIRED([gl]) GUILE_MODULE_REQUIRED([sdl2]) +PKG_CHECK_MODULES([OpenAL], [openal]) +PKG_CHECK_VAR([OPENAL_LIBDIR], [openal], [libdir]) +AC_MSG_CHECKING([OpenAL library path]) +AS_IF([test "x$OPENAL_LIBDIR" = "x"], [ + AC_MSG_FAILURE([Unable to identify OpenAL lib path.]) +], [ + AC_MSG_RESULT([$OPENAL_LIBDIR]) +]) +AC_SUBST([OPENAL_LIBDIR]) + AC_OUTPUT |