mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-28 13:57:22 +00:00
18 lines
503 B
Plaintext
18 lines
503 B
Plaintext
dnl
|
|
dnl Check for libvorbis
|
|
dnl
|
|
AC_CHECK_LIB(vorbis, vorbis_synthesis_init,
|
|
[ VORBIS_LIBS="-lvorbis -lm"
|
|
vorbis_found=yes ],
|
|
[ vorbis_found=no ],
|
|
$OGG_LIBS -lm)
|
|
if test "$vorbis_found" = "no"; then
|
|
AC_MSG_ERROR([Could not find the Vorbis library])
|
|
fi
|
|
AC_CHECK_HEADERS(vorbis/codec.h, , vorbis_found=no)
|
|
if test "$vorbis_found" = "no"; then
|
|
AC_MSG_ERROR([Could not find the Vorbis header files])
|
|
fi
|
|
|
|
AC_SUBST(VORBIS_LIBS)
|