X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fpsi.m4;h=e8d8069c35b4f0642a187cf3e0a3d07f05220813;hp=c9f4e080df6c0381680e18e623e896d22501daea;hb=ed5ebb3caac1ac8bf6a4b32eabfb523f23de8576;hpb=7e4b0ccdd2123647b6fff8065c0abc61be3fb44d diff --git a/m4/psi.m4 b/m4/psi.m4 index c9f4e08..e8d8069 100644 --- a/m4/psi.m4 +++ b/m4/psi.m4 @@ -16,7 +16,7 @@ dnl This macro must be called prior any checks for a type, struct, decl etc. AC_DEFUN(PSI_CONFIG_INIT, [ cat >$PSI_STDTYPES <$PSI_TYPES <@ = { +static struct psi_predef_type { + token_t type_tag; + const char *type_name; + const char *alias; +} psi_predef_types@<:@@:>@ = { EOF cat >$PSI_STRUCTS </dev/null || return 0 ;; + esac + ifelse($2,,,AC_CHECK_HEADERS($2)) +]) + dnl PSI_INCLUDES() dnl Expands to a complete list of include statements including dnl AC_INCLUDES_DEFAULT().