From b119e1c8a13e62a4476d8d2040f2aa532a678049 Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Sun, 14 Oct 2007 15:47:01 +0000
Subject: [PATCH] Change the configure script to check for a function that was
 recently added to libss7.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 configure    | 4 ++--
 configure.ac | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index cd51138e15..1637a08a6d 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac Revision: 83517 .
+# From configure.ac Revision: 84080 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61.
 #
@@ -44723,7 +44723,7 @@ if test "x${PBX_SS7}" != "x1" -a "${USE_SS7}" != "no"; then
       	 pbxlibdir="-L${SS7_DIR}"
       fi
    fi
-   pbxfuncname="ss7_new"
+   pbxfuncname="isup_set_charge"
    if test "x${pbxfuncname}" = "x" ; then   # empty lib, assume only headers
       AST_SS7_FOUND=yes
    else
diff --git a/configure.ac b/configure.ac
index 4e2ce6ce03..6d383b3b0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -881,7 +881,7 @@ AST_EXT_LIB_CHECK([POPT], [popt], [poptStrerror], [popt.h])
 
 AST_EXT_LIB_CHECK([PRI], [pri], [pri_keypad_facility], [libpri.h])
 
-AST_EXT_LIB_CHECK([SS7], [ss7], [ss7_new], [libss7.h])
+AST_EXT_LIB_CHECK([SS7], [ss7], [isup_set_charge], [libss7.h])
 
 if test "${USE_PWLIB}" != "no"; then
 	if test -n "${PWLIB_DIR}"; then
-- 
GitLab