[svn-commits] russell: trunk r89615 - in /trunk: configure configure.ac
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Nov 26 16:52:37 CST 2007
Author: russell
Date: Mon Nov 26 16:52:36 2007
New Revision: 89615
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89615
Log:
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.
Modified:
trunk/configure
trunk/configure.ac
Modified: trunk/configure
URL: http://svn.digium.com/view/asterisk/trunk/configure?view=diff&rev=89615&r1=89614&r2=89615
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Mon Nov 26 16:52:36 2007
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Revision: 89475 .
+# From configure.ac Revision: 89506 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61.
#
@@ -12438,11 +12438,13 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <stdio.h>
+#include <sys/types.h> /* for off_t */
+ #include <stdio.h>
int
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;
}
@@ -12482,11 +12484,13 @@
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#define _LARGEFILE_SOURCE 1
-#include <stdio.h>
+#include <sys/types.h> /* for off_t */
+ #include <stdio.h>
int
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;
}
@@ -36350,7 +36354,7 @@
pbxlibdir="-L${PRI_DIR}"
fi
fi
- pbxfuncname="pri_keypad_facility"
+ pbxfuncname="pri_new_bri"
if test "x${pbxfuncname}" = "x" ; then # empty lib, assume only headers
AST_PRI_FOUND=yes
else
Modified: trunk/configure.ac
URL: http://svn.digium.com/view/asterisk/trunk/configure.ac?view=diff&rev=89615&r1=89614&r2=89615
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Mon Nov 26 16:52:36 2007
@@ -916,7 +916,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([PRI], [pri], [pri_new_bri], [libpri.h])
AST_EXT_LIB_CHECK([SS7], [ss7], [isup_cqr], [libss7.h])
More information about the svn-commits
mailing list