summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-05-22 04:25:43 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-05-22 04:25:43 +0000
commit1c6db5c90aa4b4c7c82b0676416c2a9a0baa6c67 (patch)
treed65a40225be25ec45a61bed0d5afb393908ae4b1
parent2e00049e9b02e26f858c3e4510641a735c03b086 (diff)
Check for <alloca.h> and define INCLUDE_ALLOCA_H if found, since
<Xalloca.h> requires it.
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 319b5be..6a0f6fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-05-21 Alan Coopersmith <alan.coopersmith@sun.com>
+ * configure.ac: Check for <alloca.h> and define INCLUDE_ALLOCA_H
+ if found, since <Xalloca.h> requires it.
+
+2005-05-21 Alan Coopersmith <alan.coopersmith@sun.com>
+
* Makefile.am ($(BUILT_FILES)): Use $(install_sh_DATA) instead of
"install" for better portability. Remove duplicate installation lines.
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 <alloca.h>]))
+
# Check render configuration, strip extra digits from package version to
# find the required protocol version