Fix compile problem when old version of libvorbisfile v1.1.2 is used.
[asterisk/asterisk.git] / configure.ac
index 1051609..73288ab 100644 (file)
@@ -2099,6 +2099,7 @@ then
 else
        AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc -lvorbisfile])
 fi
+AST_C_DECLARE_CHECK([VORBIS_OPEN_CALLBACKS], [OV_CALLBACKS_NOCLOSE], [vorbis/vorbisfile.h])
 
 AC_LANG_PUSH(C++)