summaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
parent2e00049e9b02e26f858c3e4510641a735c03b086 (diff)
downloadxorg-lib-libXt-1c6db5c90aa4b4c7c82b0676416c2a9a0baa6c67.tar.gz
Check for <alloca.h> and define INCLUDE_ALLOCA_H if found, since
<Xalloca.h> requires it.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
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