[svn-commits] mvanbaak: trunk r147347 - in /trunk: configure configure.ac
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Oct 7 15:15:28 CDT 2008
Author: mvanbaak
Date: Tue Oct 7 15:15:27 2008
New Revision: 147347
URL: http://svn.digium.com/view/asterisk?view=rev&rev=147347
Log:
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
Modified:
trunk/configure
trunk/configure.ac
Modified: trunk/configure.ac
URL: http://svn.digium.com/view/asterisk/trunk/configure.ac?view=diff&rev=147347&r1=147346&r2=147347
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Tue Oct 7 15:15:27 2008
@@ -1476,7 +1476,12 @@
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++)
More information about the svn-commits
mailing list