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

ruby-changes:66011

From: Nobuyoshi <ko1@a...>
Date: Wed, 28 Apr 2021 18:49:20 +0900 (JST)
Subject: [ruby-changes:66011] 96fd1e1f22 (master): Removed unused macro HAVE_CONFIG_H

https://git.ruby-lang.org/ruby.git/commit/?id=96fd1e1f22

From 96fd1e1f22ddea943adf5e222beb8a00ae48a70f Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 28 Apr 2021 18:16:02 +0900
Subject: Removed unused macro HAVE_CONFIG_H

It seems like a vestige of ext/md5.
---
 ext/digest/bubblebabble/extconf.rb | 2 --
 ext/digest/md5/extconf.rb          | 2 --
 ext/digest/rmd160/extconf.rb       | 1 -
 ext/digest/sha1/extconf.rb         | 2 --
 ext/digest/sha2/extconf.rb         | 2 --
 5 files changed, 9 deletions(-)

diff --git a/ext/digest/bubblebabble/extconf.rb b/ext/digest/bubblebabble/extconf.rb
index 21feed5..8fb001c 100644
--- a/ext/digest/bubblebabble/extconf.rb
+++ b/ext/digest/bubblebabble/extconf.rb
@@ -1,6 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/bubblebabble/extconf.rb#L1
 # frozen_string_literal: false
 require 'mkmf'
 
-$defs << "-DHAVE_CONFIG_H"
-
 create_makefile('digest/bubblebabble')
diff --git a/ext/digest/md5/extconf.rb b/ext/digest/md5/extconf.rb
index dead9a2..01658e1 100644
--- a/ext/digest/md5/extconf.rb
+++ b/ext/digest/md5/extconf.rb
@@ -6,8 +6,6 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/md5/extconf.rb#L6
 require "mkmf"
 require File.expand_path("../../digest_conf", __FILE__)
 
-$defs << "-DHAVE_CONFIG_H"
-
 $objs = [ "md5init.#{$OBJEXT}" ]
 
 digest_conf("md5")
diff --git a/ext/digest/rmd160/extconf.rb b/ext/digest/rmd160/extconf.rb
index a923dcf..8b894da 100644
--- a/ext/digest/rmd160/extconf.rb
+++ b/ext/digest/rmd160/extconf.rb
@@ -9,7 +9,6 @@ require File.expand_path("../../digest_conf", __FILE__) https://github.com/ruby/ruby/blob/trunk/ext/digest/rmd160/extconf.rb#L9
 if try_static_assert("RUBY_API_VERSION_MAJOR < 3", "ruby/version.h")
   $defs << "-DNDEBUG"
 end
-$defs << "-DHAVE_CONFIG_H"
 
 $objs = [ "rmd160init.#{$OBJEXT}" ]
 
diff --git a/ext/digest/sha1/extconf.rb b/ext/digest/sha1/extconf.rb
index 1e94ba3..7582cd9 100644
--- a/ext/digest/sha1/extconf.rb
+++ b/ext/digest/sha1/extconf.rb
@@ -6,8 +6,6 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/sha1/extconf.rb#L6
 require "mkmf"
 require File.expand_path("../../digest_conf", __FILE__)
 
-$defs << "-DHAVE_CONFIG_H"
-
 $objs = [ "sha1init.#{$OBJEXT}" ]
 
 digest_conf("sha1")
diff --git a/ext/digest/sha2/extconf.rb b/ext/digest/sha2/extconf.rb
index 8bf2811..3b77267 100644
--- a/ext/digest/sha2/extconf.rb
+++ b/ext/digest/sha2/extconf.rb
@@ -6,8 +6,6 @@ https://github.com/ruby/ruby/blob/trunk/ext/digest/sha2/extconf.rb#L6
 require "mkmf"
 require File.expand_path("../../digest_conf", __FILE__)
 
-$defs << "-DHAVE_CONFIG_H"
-
 $objs = [ "sha2init.#{$OBJEXT}" ]
 
 unless digest_conf("sha2")
-- 
cgit v1.1


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

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