diff options
author | David Thompson <dthompson2@worcester.edu> | 2019-01-09 17:45:28 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-04-07 16:10:23 -0400 |
commit | 2e917863a045bcecdfb08d16d92b6498ed29de38 (patch) | |
tree | 7beb38cccc87acfea24fa05262001cea9acdd45c /configure.ac | |
parent | d5637f0c8d51eca4d7fe14d1e2b9c5c8bc0121b3 (diff) |
audio: Add libvorbisfile bindings.
* chickadee/audio/vorbis.scm: New file.
* Makefile.am (SOURCES): Add it.
* configure.ac: Check for vorbis library.
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 66be3c0..2bc4ad7 100644 --- a/configure.ac +++ b/configure.ac @@ -33,4 +33,14 @@ AS_IF([test "x$OPENAL_LIBDIR" = "x"], [ ]) AC_SUBST([OPENAL_LIBDIR]) +PKG_CHECK_MODULES([Vorbis], [vorbis]) +PKG_CHECK_VAR([VORBIS_LIBDIR], [vorbis], [libdir]) +AC_MSG_CHECKING([Vorbis library path]) +AS_IF([test "VORBIS_LIBDIR" = "x"], [ + AC_MSG_FAILURE([Unable to identify Vorbis lib path.]) +], [ + AC_MSG_RESULT([$VORBIS_LIBDIR]) +]) +AC_SUBST([VORBIS_LIBDIR]) + AC_OUTPUT |