configure.ac: detect libogg
Will be needed to compile libxiph.a.
This commit is contained in:
parent
fb5610f9bd
commit
6c933d2b77
@ -586,6 +586,8 @@ noinst_LIBRARIES += libxiph.a
|
||||
|
||||
libxiph_a_SOURCES = \
|
||||
src/lib/xiph/XiphTags.cxx src/lib/xiph/XiphTags.hxx
|
||||
libxiph_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
||||
$(OGG_CFLAGS)
|
||||
|
||||
XIPH_LIBS = libxiph.a
|
||||
|
||||
|
@ -1266,6 +1266,10 @@ if test x$enable_ogg = xyes || test x$enable_flac = xyes; then
|
||||
have_xiph=yes
|
||||
fi
|
||||
|
||||
if test x$have_ogg = xyes; then
|
||||
PKG_CHECK_MODULES([OGG], [ogg],, [AC_MSG_ERROR([libogg not found])])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(HAVE_OGG, test x$have_ogg = xyes)
|
||||
AM_CONDITIONAL(HAVE_XIPH, test x$have_xiph = xyes)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user