add check for tgmath.h

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2931 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-10-02 01:49:41 +00:00
parent 0bea969515
commit 8001cd5802
5 changed files with 1382 additions and 882 deletions

View File

@ -1,8 +1,8 @@
# Makefile.in generated by automake 1.9.3 from Makefile.am. # Makefile.in generated by automake 1.9.6 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004 Free Software Foundation, Inc. # 2003, 2004, 2005 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it, # gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved. # with or without modifications, as long as this notice is preserved.
@ -15,8 +15,6 @@
@SET_MAKE@ @SET_MAKE@
SOURCES = $(libg7xx_la_SOURCES)
srcdir = @srcdir@ srcdir = @srcdir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
VPATH = @srcdir@ VPATH = @srcdir@

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@ AC_PROG_LIBTOOL
# Checks for header files. # Checks for header files.
AC_HEADER_STDC AC_HEADER_STDC
AC_CHECK_HEADERS([inttypes.h memory.h stdlib.h string.h]) AC_CHECK_HEADERS([inttypes.h memory.h stdlib.h string.h tgmath.h])
# Checks for typedefs, structures, and compiler characteristics. # Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST AC_C_CONST

View File

@ -27,8 +27,10 @@
#include <assert.h> #include <assert.h>
#ifndef _MSC_VER #ifndef _MSC_VER
#include <inttypes.h> #include <inttypes.h>
#ifdef HAVE_TGMATH_H
#include <tgmath.h> #include <tgmath.h>
#endif #endif
#endif
#include "g7xx/g711.h" #include "g7xx/g711.h"