projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
avoid busting bash's stack with a too big if body in configure
[m6w6/ext-psi]
/
m4
/
psi_const.m4
diff --git
a/m4/psi_const.m4
b/m4/psi_const.m4
index cea747e518928233f8a3f9f2ea12967560fe0175..79373d36a1da6d5eb82206bd4acd05c9d5293d5d 100644
(file)
--- a/
m4/psi_const.m4
+++ b/
m4/psi_const.m4
@@
-1,10
+1,10
@@
# add_str_const(name, value)
add_str_const() {
# 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() {
}
# 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, [
}
dnl PSI_CONST(const name, type)
AC_DEFUN(PSI_CONST, [