aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-20 19:11:18 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-20 19:11:18 +0000
commitefe22b0c45b523db3c02dc092560f5c814b9e18f (patch)
tree8436cd770dda8725517b2bf6c167ce3193f99de0 /configure
parenta9d77064e72ab097b6acc2dea45dffec897baa13 (diff)
fix the zaptel configure script check
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89460 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure36
1 files changed, 20 insertions, 16 deletions
diff --git a/configure b/configure
index a6c60971b..e351c3c9d 100755
--- a/configure
+++ b/configure
@@ -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