ruby/tool/m4/ruby_prepend_option.m4
2021-04-17 19:14:21 +09:00

5 lines
166 B
Text

dnl -*- Autoconf -*-
AC_DEFUN([RUBY_PREPEND_OPTION],
[# RUBY_PREPEND_OPTION($1)
AS_CASE([" [$]{$1-} "],
[*" $2 "*], [], [' '], [ $1="$2"], [ $1="$2 [$]$1"])])dnl