Skip to content
Snippets Groups Projects
Commit 9bd421dd authored by Russell Bryant's avatar Russell Bryant
Browse files

Update the configure script check for libpri to check for the newest function

that was just added.

Cresl1n, please keep this in mind when making these changes to libpri or libss7.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 11df6a91
No related branches found
No related tags found
No related merge requests found
#! /bin/sh #! /bin/sh
# From configure.ac Revision: 89475 . # From configure.ac Revision: 89506 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61. # Generated by GNU Autoconf 2.61.
# #
...@@ -12438,11 +12438,13 @@ _ACEOF ...@@ -12438,11 +12438,13 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdio.h> #include <sys/types.h> /* for off_t */
#include <stdio.h>
int int
main () main ()
{ {
return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); int (*fp) (FILE *, off_t, int) = fseeko;
return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
; ;
return 0; return 0;
} }
...@@ -12482,11 +12484,13 @@ cat confdefs.h >>conftest.$ac_ext ...@@ -12482,11 +12484,13 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#define _LARGEFILE_SOURCE 1 #define _LARGEFILE_SOURCE 1
#include <stdio.h> #include <sys/types.h> /* for off_t */
#include <stdio.h>
int int
main () main ()
{ {
return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); int (*fp) (FILE *, off_t, int) = fseeko;
return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
; ;
return 0; return 0;
} }
...@@ -36350,7 +36354,7 @@ if test "x${PBX_PRI}" != "x1" -a "${USE_PRI}" != "no"; then ...@@ -36350,7 +36354,7 @@ if test "x${PBX_PRI}" != "x1" -a "${USE_PRI}" != "no"; then
pbxlibdir="-L${PRI_DIR}" pbxlibdir="-L${PRI_DIR}"
fi fi
fi fi
pbxfuncname="pri_keypad_facility" pbxfuncname="pri_new_bri"
if test "x${pbxfuncname}" = "x" ; then # empty lib, assume only headers if test "x${pbxfuncname}" = "x" ; then # empty lib, assume only headers
AST_PRI_FOUND=yes AST_PRI_FOUND=yes
else else
...@@ -916,7 +916,7 @@ fi ...@@ -916,7 +916,7 @@ fi
AST_EXT_LIB_CHECK([POPT], [popt], [poptStrerror], [popt.h]) AST_EXT_LIB_CHECK([POPT], [popt], [poptStrerror], [popt.h])
AST_EXT_LIB_CHECK([PRI], [pri], [pri_keypad_facility], [libpri.h]) AST_EXT_LIB_CHECK([PRI], [pri], [pri_new_bri], [libpri.h])
AST_EXT_LIB_CHECK([SS7], [ss7], [isup_cqr], [libss7.h]) AST_EXT_LIB_CHECK([SS7], [ss7], [isup_cqr], [libss7.h])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment