From: Matthew Jordan Date: Sat, 28 Sep 2013 22:02:37 +0000 (+0000) Subject: Add check for openSUSE when detecting bfd library X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45d756058824e89dd6b6534cef4cbc7efa35f64a;p=thirdparty%2Fasterisk.git Add check for openSUSE when detecting bfd library In ASTERISK-17842, some additional library checks were added to the configure script so that the bfd library could be found on CentOS and Fedora systems. As it turns out, openSUSE requires an additional library. This patch adds another check to the configure script for openSUSE that will add that library. Review: https://reviewboard.asterisk.org/r/2885/ (closes issue AST-1169) Reported by: Guenther Kelleter ........ Merged revisions 400073 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 400075 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/certified/branches/11.2@400076 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/configure.ac b/configure.ac index 19acac7c86..4634a75cbb 100644 --- a/configure.ac +++ b/configure.ac @@ -1183,6 +1183,11 @@ if test "${PBX_BFD}" = "0"; then AST_EXT_LIB_CHECK([BFD], [bfd], [bfd_check_format], [bfd.h], [-ldl -liberty]) fi +if test "${PBX_BFD}" = "0"; then + # openSUSE requires -lz + AST_EXT_LIB_CHECK([BFD], [bfd], [bfd_check_format], [bfd.h], [-ldl -liberty -lz]) +fi + if test "x${OSARCH}" = "xlinux-gnu" ; then AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h]) fi