aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-15 09:59:12 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-15 09:59:12 +0000
commitab21dfeefde291db235114ea747844a678ad2846 (patch)
treee7a262bd042f1832f1c2122f8b29f2c77c573823 /configure
parent81af7f231f851d06b9198eea8aa38c9ebbbb0f46 (diff)
do complete version check for SpanDSP, since the app_fax code is not compatible with 0.0.6 yet
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@149426 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure23
1 files changed, 16 insertions, 7 deletions
diff --git a/configure b/configure
index 5145d3bde..487d252a2 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Revision: 147306 .
+# From configure.ac Revision: 147807 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for asterisk 1.6.
#
@@ -205,7 +205,7 @@ if as_func_ret_failure; then
echo as_func_ret_failure succeeded.
fi
-if (set x; as_func_ret_success y && test x = \"\$1\" ); then
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
:
else
exitcode=1
@@ -409,7 +409,7 @@ if as_func_ret_failure; then
echo as_func_ret_failure succeeded.
fi
-if (set x; as_func_ret_success y && test x = \"\$1\" ); then
+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
:
else
exitcode=1
@@ -6586,7 +6586,7 @@ else
GNU_MAKE_VERSION_MINOR=0 ;
for a in make gmake gnumake ; do
if test -z "$a" ; then continue ; fi ;
- if (sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
+ if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
GNU_MAKE=$a ;
GNU_MAKE_VERSION_MAJOR=`$GNU_MAKE --version | grep "GNU Make" | cut -f3 -d' ' | cut -f1 -d'.'`
GNU_MAKE_VERSION_MINOR=`$GNU_MAKE --version | grep "GNU Make" | cut -f2 -d'.' | cut -c1-2`
@@ -39971,19 +39971,25 @@ fi
if test "x${PBX_SPANDSP}" != "x1" -a "${USE_SPANDSP}" != "no"; then
- if test "xminimum version of SpanDSP" != "x"; then
- { echo "$as_me:$LINENO: checking for minimum version of SpanDSP" >&5
-echo $ECHO_N "checking for minimum version of SpanDSP... $ECHO_C" >&6; }
+ if test "xcompatible version of SpanDSP" != "x"; then
+ { echo "$as_me:$LINENO: checking for compatible version of SpanDSP" >&5
+echo $ECHO_N "checking for compatible version of SpanDSP... $ECHO_C" >&6; }
else
{ echo "$as_me:$LINENO: checking if \"
#if SPANDSP_RELEASE_DATE < 20080516
#error \"spandsp 0.0.5 or greater is required\"
#endif
+ #if SPANDSP_RELEASE_DATE >= 20081012
+ #error \"spandsp 0.0.6 or greater is not supported; use 0.0.5\"
+ #endif
\" compiles using spandsp/version.h" >&5
echo $ECHO_N "checking if \"
#if SPANDSP_RELEASE_DATE < 20080516
#error \"spandsp 0.0.5 or greater is required\"
#endif
+ #if SPANDSP_RELEASE_DATE >= 20081012
+ #error \"spandsp 0.0.6 or greater is not supported; use 0.0.5\"
+ #endif
\" compiles using spandsp/version.h... $ECHO_C" >&6; }
fi
saved_cppflags="${CPPFLAGS}"
@@ -40006,6 +40012,9 @@ main ()
#if SPANDSP_RELEASE_DATE < 20080516
#error "spandsp 0.0.5 or greater is required"
#endif
+ #if SPANDSP_RELEASE_DATE >= 20081012
+ #error "spandsp 0.0.6 or greater is not supported; use 0.0.5"
+ #endif
;
;