From 1c6db5c90aa4b4c7c82b0676416c2a9a0baa6c67 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 22 May 2005 04:25:43 +0000 Subject: Check for and define INCLUDE_ALLOCA_H if found, since requires it. --- ChangeLog | 5 +++++ configure.ac | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 319b5be..6a0f6fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-21 Alan Coopersmith + + * configure.ac: Check for and define INCLUDE_ALLOCA_H + if found, since requires it. + 2005-05-21 Alan Coopersmith * Makefile.am ($(BUILT_FILES)): Use $(install_sh_DATA) instead of diff --git a/configure.ac b/configure.ac index 84b43e1..a44b7d5 100644 --- a/configure.ac +++ b/configure.ac @@ -39,6 +39,9 @@ AC_PROG_LIBTOOL PKG_CHECK_MODULES(XT, sm x11 xproto) +# Needed for including Xalloca.h +AC_CHECK_HEADER([alloca.h], AC_DEFINE(INCLUDE_ALLOCA_H, 1, [Define to 1 if Xalloca.h should include ])) + # Check render configuration, strip extra digits from package version to # find the required protocol version -- cgit v1.2.3