summaryrefslogtreecommitdiff
path: root/tool/m4/ruby_append_option.m4
blob: ff828d2162c22f2536e79383b77ecc485f7b2151 (plain)
1
2
3
4
5
dnl -*- Autoconf -*-
AC_DEFUN([RUBY_APPEND_OPTION],
	[# RUBY_APPEND_OPTION($1)
	AS_CASE([" [$]{$1-} "],
	[*" $2 "*], [], ['  '], [ $1="$2"], [ $1="[$]$1 $2"])])dnl