summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-09 23:18:19 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-03-09 23:18:19 +0000
commit2a8f6c603154dd97d4aa82a649d66e3b0156a79d (patch)
treed62e05269ac8c0a9c9286674ba9bb44f689b3bcd /configure.ac
parent0f487297ae72bc48e33b4b5923921a1b43eb445f (diff)
downloadxine-lib-2a8f6c603154dd97d4aa82a649d66e3b0156a79d.tar.gz
xine-lib-2a8f6c603154dd97d4aa82a649d66e3b0156a79d.tar.bz2
Test presence of alloca.h and include it if present; suggested by a patch from Albert Lee. The check is needed to work on FreeBSD.
CVS patchset: 8644 CVS date: 2007/03/09 23:18:19
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ed6642988..3969cedd2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2171,7 +2171,7 @@ if test "x$some_snprintf" != "xyes" -o \
fi
AC_FUNC_FSEEKO
AC_DEFINE(_GNU_SOURCE)
-AC_CHECK_HEADERS(assert.h byteswap.h malloc.h execinfo.h ucontext.h sys/mman.h sys/mixer.h libgen.h netdb.h dirent.h sys/times.h sys/ioctl.h sys/param.h)
+AC_CHECK_HEADERS(assert.h byteswap.h malloc.h execinfo.h ucontext.h sys/mman.h sys/mixer.h libgen.h netdb.h dirent.h sys/times.h sys/ioctl.h sys/param.h alloca.h)
AC_REPLACE_FUNCS(asprintf basename gettimeofday setenv strndup strpbrk strsep strtok_r timegm unsetenv)
AC_LIBSOURCE(hstrerror.c)