[前][次][番号順一覧][スレッド一覧]

ruby-changes:64118

From: Nobuyoshi <ko1@a...>
Date: Sun, 13 Dec 2020 01:30:27 +0900 (JST)
Subject: [ruby-changes:64118] 3b7c05ef8d (master): Fixed RUBY_RM_RECURSIVE when autoconf met the required version

https://git.ruby-lang.org/ruby.git/commit/?id=3b7c05ef8d

From 3b7c05ef8dc15371316e5254d33af12928183971 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 13 Dec 2020 01:10:49 +0900
Subject: Fixed RUBY_RM_RECURSIVE when autoconf met the required version

Before 9189cf5793cd527a86b711d15d5fd0633ec082e1 the result of
`m4_version_compare` was compared to -1, however the `$2` of
`m4_version_prereq` has different meaning and is expanded when
the required version met.

diff --git a/tool/m4/ruby_rm_recursive.m4 b/tool/m4/ruby_rm_recursive.m4
index e33ba1d..e2c8f66 100644
--- a/tool/m4/ruby_rm_recursive.m4
+++ b/tool/m4/ruby_rm_recursive.m4
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/tool/m4/ruby_rm_recursive.m4#L1
 # -*- Autoconf -*-
-AC_DEFUN([RUBY_RM_RECURSIVE], [
-m4_version_prereq([2.70], [-1], [
+AC_DEFUN([RUBY_RM_RECURSIVE], [dnl
+m4_version_prereq([2.70], [], [dnl
 # suppress error messages, rm: cannot remove 'conftest.dSYM', from
 # AC_EGREP_CPP with CFLAGS=-g on Darwin.
 AS_CASE([$build_os], [darwin*], [
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]