From 06c05f17db2d8475cd7564f409041af4f3827e25 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 23 Aug 2016 16:35:17 +0200 Subject: [PATCH 1/1] improve/fix build --- m4/psi.m4 | 40 ++++++++++++++++++++++++---------------- m4/psi_const.m4 | 4 ++-- m4/psi_decl.m4 | 5 +++-- src/context.c | 2 ++ 4 files changed, 31 insertions(+), 20 deletions(-) diff --git a/m4/psi.m4 b/m4/psi.m4 index 9f770c9..41acc56 100644 --- a/m4/psi.m4 +++ b/m4/psi.m4 @@ -15,8 +15,13 @@ dnl Creates stubs of the headers with pre-defined types etc. dnl These headers are included by src/context.c. dnl This macro must be called prior any checks for a type, struct, decl etc. AC_DEFUN(PSI_CONFIG_INIT, [ - cat >$PSI_STDTYPES <$i <>$PSI_STDTYPES <$PSI_TYPES <>$PSI_TYPES <@ = { EOF - cat >$PSI_STRUCTS <>$PSI_STRUCTS <@ = { EOF - cat >$PSI_UNIONS <>$PSI_UNIONS <@ = { EOF - cat >$PSI_CONSTS <>$PSI_CONSTS <@ = { EOF - cat >$PSI_REDIRS <>$PSI_REDIRS <@ = { EOF - cat >$PSI_MACROS $PSI_DECLS <>$PSI_MACROS <>$PSI_DECLS <@ = { EOF - cat >$PSI_VA_DECLS <>$PSI_VA_DECLS <@ = { EOF ]) @@ -103,7 +102,16 @@ dnl Finish the headers with the pre-defined types etc. AC_DEFUN(PSI_CONFIG_DONE, [ cat >$PSI_STDINC <>$i <>$PSI_CONSTS <