summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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