[asterisk-commits] mjordan: branch certified-1.8.15 r400074 - /certified/branches/1.8.15/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Sep 28 16:31:31 CDT 2013


Author: mjordan
Date: Sat Sep 28 16:31:26 2013
New Revision: 400074

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=400074
Log:
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

Modified:
    certified/branches/1.8.15/   (props changed)
    certified/branches/1.8.15/configure
    certified/branches/1.8.15/configure.ac

Propchange: certified/branches/1.8.15/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: certified/branches/1.8.15/configure.ac
URL: http://svnview.digium.com/svn/asterisk/certified/branches/1.8.15/configure.ac?view=diff&rev=400074&r1=400073&r2=400074
==============================================================================
--- certified/branches/1.8.15/configure.ac (original)
+++ certified/branches/1.8.15/configure.ac Sat Sep 28 16:31:26 2013
@@ -1127,6 +1127,11 @@
   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




More information about the asterisk-commits mailing list