|
|
|
@ -251,14 +251,21 @@ LIB_OGGVORBIS=""
|
|
|
|
|
if test "$with_oggvorbis" != "no" ; then
|
|
|
|
|
AC_MSG_CHECKING([for Ogg/Vorbis encoder])
|
|
|
|
|
|
|
|
|
|
if "$PKG_CONFIG" --exists vorbisenc ; then
|
|
|
|
|
if "$PKG_CONFIG" --exists vorbisenc vorbis ogg ; then
|
|
|
|
|
with_oggvorbis=yes
|
|
|
|
|
CFLAGS_OGGVORBIS=`"$PKG_CONFIG" --cflags vorbisenc`
|
|
|
|
|
LIB_OGGVORBIS=`"$PKG_CONFIG" --libs vorbisenc`
|
|
|
|
|
CFLAGS_OGGVORBIS=`"$PKG_CONFIG" --cflags vorbisenc vorbis ogg`
|
|
|
|
|
LIB_OGGVORBIS=`"$PKG_CONFIG" --libs vorbisenc vorbis ogg`
|
|
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
|
else
|
|
|
|
|
with_oggvorbis=no
|
|
|
|
|
AC_MSG_RESULT([no])
|
|
|
|
|
if "$PKG_CONFIG" --exists vorbisenc ; then
|
|
|
|
|
with_oggvorbis=yes
|
|
|
|
|
CFLAGS_OGGVORBIS=`"$PKG_CONFIG" --cflags vorbisenc`
|
|
|
|
|
LIB_OGGVORBIS=`"$PKG_CONFIG" --libs vorbisenc`
|
|
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
|
else
|
|
|
|
|
with_oggvorbis=no
|
|
|
|
|
AC_MSG_RESULT([no])
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|