X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=m4%2Fpsi%2Fpsi_const.m4;fp=m4%2Fpsi%2Fpsi_const.m4;h=6c3cf6b28be665eaf28828e22461700a590d8fc0;hb=c9b3436bd51a4dcf7d6cc6817d4c7a8ad99538d4;hp=0000000000000000000000000000000000000000;hpb=09735ea6055f959a9cac481268754f07d6f6eb9f;p=m6w6%2Fext-psi diff --git a/m4/psi/psi_const.m4 b/m4/psi/psi_const.m4 new file mode 100644 index 0000000..6c3cf6b --- /dev/null +++ b/m4/psi/psi_const.m4 @@ -0,0 +1,51 @@ +# psi_add_str_const(name, value) +# Add a pre-defined string constant to $PSI_CONSTS +psi_add_str_const() { + grep -q "\"psi\\\\\\\\$1\"" $PSI_CONSTS \ + || cat >>$PSI_CONSTS <>$PSI_CONSTS <