mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Make format_vorbis_ogg compile on OpenBSD
(closes issue #13639) Reported by: mvanbaak Patches: 2008100700_oggsupportOBSD.diff.txt uploaded by mvanbaak (license 7) 2008100700_oggsupportOBSD-configurescript.diff.txt uploaded by mvanbaak (license 7) Tested by: mvanbaak git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1476,7 +1476,12 @@ AST_EXT_LIB_CHECK([TONEZONE], [tonezone], [tone_zone_find], [dahdi/tonezone.h],
|
||||
|
||||
AST_EXT_LIB_CHECK([USB], [usb], [usb_init], [usb.h], [])
|
||||
|
||||
AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc])
|
||||
if test "${OSARCH}" = "OpenBSD";
|
||||
then
|
||||
AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc -logg])
|
||||
else
|
||||
AST_EXT_LIB_CHECK([VORBIS], [vorbis], [vorbis_info_init], [vorbis/codec.h], [-lm -lvorbisenc])
|
||||
fi
|
||||
|
||||
AC_LANG_PUSH(C++)
|
||||
|
||||
|
Reference in New Issue
Block a user