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