ruby-changes:59049
From: Nobuyoshi <ko1@a...>
Date: Tue, 3 Dec 2019 14:47:25 +0900 (JST)
Subject: [ruby-changes:59049] 9165fcdfa3 (master): Wrap statements in AS_IF properly
https://git.ruby-lang.org/ruby.git/commit/?id=9165fcdfa3 From 9165fcdfa309052a2adc3c6100ab24204de6c2d1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 3 Dec 2019 14:46:49 +0900 Subject: Wrap statements in AS_IF properly diff --git a/configure.ac b/configure.ac index 2230e18..6c8311d 100644 --- a/configure.ac +++ b/configure.ac @@ -579,8 +579,9 @@ AS_IF([test "$GCC" = yes], [ https://github.com/ruby/ruby/blob/trunk/configure.ac#L579 AS_HELP_STRING([--disable-fortify-source], [disable -D_FORTIFY_SOURCE=2 option, which causes link error on mingw]), [fortify_source=$enableval]) - test "x$fortify_source" = xno || + AS_IF([test "x$fortify_source" = xno], [ RUBY_TRY_CFLAGS(-D_FORTIFY_SOURCE=2, [RUBY_APPEND_OPTION(XCFLAGS, -D_FORTIFY_SOURCE=2)]) + ]) : ${MJIT_HEADER_FLAGS='-P -dD'} -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/