X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=m4%2Fpsi_const.m4;h=79373d36a1da6d5eb82206bd4acd05c9d5293d5d;hp=cea747e518928233f8a3f9f2ea12967560fe0175;hb=b1720af16e5d7765e2effcd16e23f351c2f82e54;hpb=7ecbe886921997a9ea3c990071c2efb97f13ac21 diff --git a/m4/psi_const.m4 b/m4/psi_const.m4 index cea747e..79373d3 100644 --- a/m4/psi_const.m4 +++ b/m4/psi_const.m4 @@ -1,10 +1,10 @@ # add_str_const(name, value) add_str_const() { - PSI_CONSTS="{PSI_T_STRING, \"string\", \"psi\\\\$1\", $2, PSI_T_QUOTED_STRING}, $PSI_CONSTS" + cat >>$PSI_CONSTS <<<" {PSI_T_STRING, \"string\", \"psi\\\\$1\", $2, PSI_T_QUOTED_STRING}, " } # add_int_const(name, value) add_int_const() { - PSI_CONSTS="{PSI_T_INT, \"int\", \"psi\\\\$1\", \"$2\", PSI_T_NUMBER}, $PSI_CONSTS" + cat >>$PSI_CONSTS <<<" {PSI_T_INT, \"int\", \"psi\\\\$1\", \"$2\", PSI_T_NUMBER}, " } dnl PSI_CONST(const name, type) AC_DEFUN(PSI_CONST, [