Check for alloca.h.
This commit is contained in:
@@ -198,7 +198,7 @@ AC_CHECK_HEADER(sys/soundcard.h, [AC_DEFINE(HAVE_OSS, 1, [OSS support available]
|
||||
AC_CHECK_DECL(OSS_GETVERSION, AC_DEFINE([HAVE_OSS_GETVERSION],1,[OSS_GETVERSION is defined]), , [#include <sys/soundcard.h>])
|
||||
AC_ARG_ENABLE(force-oss, AS_HELP_STRING([--enable-force-oss],[Force OSS]), force_oss=$enableval, force_oss=no)
|
||||
AC_CHECK_HEADER(stdint.h, , [AC_DEFINE(MISSING_STDINT_H, 1, [stdint.h is missing])])
|
||||
AC_CHECK_HEADERS([inttypes.h endian.h machine/endian.h])
|
||||
AC_CHECK_HEADERS([inttypes.h endian.h machine/endian.h alloca.h])
|
||||
|
||||
AC_MSG_CHECKING(if cstdlib breaks llabs)
|
||||
AC_LANG_PUSH(C++)
|
||||
|
||||
@@ -5,12 +5,14 @@
|
||||
#define __C99FEATURES__
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ALLOCA_H
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
#if !defined(MISSING_STDINT_H) /* need to define int64_t if so */
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
#include <alloca.h>
|
||||
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user