diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-05-22 04:25:43 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-05-22 04:25:43 +0000 |
commit | 1c6db5c90aa4b4c7c82b0676416c2a9a0baa6c67 (patch) | |
tree | d65a40225be25ec45a61bed0d5afb393908ae4b1 | |
parent | 2e00049e9b02e26f858c3e4510641a735c03b086 (diff) |
Check for <alloca.h> and define INCLUDE_ALLOCA_H if found, since
<Xalloca.h> requires it.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -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 |