diff options
author | David Thompson <dthompson2@worcester.edu> | 2019-01-09 17:44:26 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-04-07 16:10:23 -0400 |
commit | 8bba92a619b00277e31f14276d78e8cd531d426f (patch) | |
tree | 0beaf021ef5b68437101f3a88bf8f85d01e15c0c /configure.ac | |
parent | a8db2705551f1db80a072bf0bf8e21ffcce9c73e (diff) |
audio: Add OpenAL bindings.
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 |