mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
fix the zaptel configure script check
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
36
configure
vendored
36
configure
vendored
@@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# From configure.ac Revision: 89395 .
|
||||
# From configure.ac Revision: 89452 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.61.
|
||||
#
|
||||
@@ -12403,11 +12403,13 @@ _ACEOF
|
||||
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;
|
||||
}
|
||||
@@ -12447,11 +12449,13 @@ cat confdefs.h >>conftest.$ac_ext
|
||||
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;
|
||||
}
|
||||
@@ -42025,12 +42029,12 @@ fi
|
||||
if test "x${TONEZONE_DIR}" != "x"; then
|
||||
TONEZONE_INCLUDE="-I${TONEZONE_DIR}/include"
|
||||
fi
|
||||
TONEZONE_INCLUDE="${TONEZONE_INCLUDE} 140"
|
||||
TONEZONE_INCLUDE="${TONEZONE_INCLUDE} "
|
||||
if test "xzaptel/tonezone.h" = "x" ; then # no header, assume found
|
||||
TONEZONE_HEADER_FOUND="1"
|
||||
else # check for the header
|
||||
saved_cppflags="${CPPFLAGS}"
|
||||
CPPFLAGS="${CPPFLAGS} ${TONEZONE_INCLUDE} 140"
|
||||
CPPFLAGS="${CPPFLAGS} ${TONEZONE_INCLUDE} "
|
||||
if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
|
||||
{ echo "$as_me:$LINENO: checking for zaptel/tonezone.h" >&5
|
||||
echo $ECHO_N "checking for zaptel/tonezone.h... $ECHO_C" >&6; }
|
||||
@@ -42181,7 +42185,7 @@ _ACEOF
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_TONEZONE_VERSION 140
|
||||
#define HAVE_TONEZONE_VERSION
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
@@ -42282,12 +42286,12 @@ fi
|
||||
if test "x${TONEZONE_DIR}" != "x"; then
|
||||
TONEZONE_INCLUDE="-I${TONEZONE_DIR}/include"
|
||||
fi
|
||||
TONEZONE_INCLUDE="${TONEZONE_INCLUDE} 80"
|
||||
TONEZONE_INCLUDE="${TONEZONE_INCLUDE} "
|
||||
if test "xzaptel/zaptel.h" = "x" ; then # no header, assume found
|
||||
TONEZONE_HEADER_FOUND="1"
|
||||
else # check for the header
|
||||
saved_cppflags="${CPPFLAGS}"
|
||||
CPPFLAGS="${CPPFLAGS} ${TONEZONE_INCLUDE} 80"
|
||||
CPPFLAGS="${CPPFLAGS} ${TONEZONE_INCLUDE} "
|
||||
if test "${ac_cv_header_zaptel_zaptel_h+set}" = set; then
|
||||
{ echo "$as_me:$LINENO: checking for zaptel/zaptel.h" >&5
|
||||
echo $ECHO_N "checking for zaptel/zaptel.h... $ECHO_C" >&6; }
|
||||
@@ -42438,7 +42442,7 @@ _ACEOF
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_TONEZONE_VERSION 80
|
||||
#define HAVE_TONEZONE_VERSION
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
@@ -43853,7 +43857,7 @@ _ACEOF
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_ZAPTEL_VERSION
|
||||
#define HAVE_ZAPTEL_VERSION 80
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
@@ -44109,7 +44113,7 @@ _ACEOF
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_ZAPTEL_VLDTMF_VERSION
|
||||
#define HAVE_ZAPTEL_VLDTMF_VERSION 90
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
@@ -44365,7 +44369,7 @@ _ACEOF
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_ZAPTEL_VLDTMF_VERSION
|
||||
#define HAVE_ZAPTEL_VLDTMF_VERSION 80
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
@@ -44623,7 +44627,7 @@ _ACEOF
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_TONEZONE_VERSION
|
||||
#define HAVE_TONEZONE_VERSION 80
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
@@ -45336,7 +45340,7 @@ _ACEOF
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_SDL_IMAGE_VERSION ${SDL_INCLUDE}
|
||||
#define HAVE_SDL_IMAGE_VERSION
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
Reference in New Issue
Block a user