check for header existance

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4656 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-03-19 14:54:56 +00:00
parent ce25ea7b20
commit 9c161b4829
3 changed files with 3880 additions and 4418 deletions

8293
libs/portaudio/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -308,4 +308,7 @@ fi
AC_SUBST(ENABLE_CXX_TRUE)
AC_SUBST(ENABLE_CXX_FALSE)
#check for some headers
AC_CHECK_HEADERS([libkern/OSAtomic.h])
AC_OUTPUT([Makefile portaudio-2.0.pc])

View File

@ -71,7 +71,7 @@
*
****************/
#if defined(__APPLE__) || defined(__FreeBSD__)
#if defined(HAVE_LIBKERN_OSATOMIC_H) && defined(__APPLE__) || defined(__FreeBSD__)
# include <libkern/OSAtomic.h>
/* Here are the memory barrier functions. Mac OS X and FreeBSD only provide
full memory barriers, so the three types of barriers are the same. */