Commit c6da59de authored by Pekka Pessi's avatar Pekka Pessi

m4/sac-su2.m4: added SAC_COMMA_APPEND

darcs-hash:20060519124410-65a35-4e95c1f69ff5790b54f5ea2f38db4ac1c9abb35c.gz
parent 03fe1c18
...@@ -418,6 +418,11 @@ AM_CONFIG_HEADER([libsofia-sip-ua/su/sofia-sip/su_configure.h]) ...@@ -418,6 +418,11 @@ AM_CONFIG_HEADER([libsofia-sip-ua/su/sofia-sip/su_configure.h])
# End of SAC_SOFIA_SU # End of SAC_SOFIA_SU
]) ])
dnl
dnl Append a value $2 to a variable, separating values with comma
dnl
AC_DEFUN([SAC_COMMA_APPEND],[$1="`test -n "$$1" && echo "$$1, "`$2"])
# SAC_SU_DEFINE(VARIABLE, [VALUE], [DESCRIPTION]) # SAC_SU_DEFINE(VARIABLE, [VALUE], [DESCRIPTION])
# ------------------------------------------- # -------------------------------------------
# Set VARIABLE to VALUE, verbatim, or 1. Remember the value # Set VARIABLE to VALUE, verbatim, or 1. Remember the value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment