mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
extconf.rb: git rid of post-1.8 feature
* ext/digest/*/extconf.rb, ext/openssl/extconf.rb: get git rid of post-1.8 feature require_relative for cross compilation. [ruby-core:50160] [Bug #7439] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4df479f50b
commit
f0a229b69b
6 changed files with 16 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Nov 27 09:58:48 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/digest/*/extconf.rb, ext/openssl/extconf.rb: get git rid of
|
||||
post-1.8 feature require_relative for cross compilation.
|
||||
[ruby-core:50160] [Bug #7439]
|
||||
|
||||
Tue Nov 27 09:17:59 2012 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* NEWS: add TracePont.
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# -*- coding: us-ascii -*-
|
||||
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
|
||||
# $Id$
|
||||
|
||||
|
@ -10,7 +11,7 @@ $objs = [ "md5init.#{$OBJEXT}" ]
|
|||
|
||||
dir_config("openssl")
|
||||
pkg_config("openssl")
|
||||
require_relative '../../openssl/deprecation'
|
||||
require File.expand_path('../../../openssl/deprecation', __FILE__)
|
||||
|
||||
if !with_config("bundled-md5") &&
|
||||
have_library("crypto") && OpenSSL.check_func("MD5_Transform", "openssl/md5.h")
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# -*- coding: us-ascii -*-
|
||||
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
|
||||
# $Id$
|
||||
|
||||
|
@ -10,7 +11,7 @@ $objs = [ "rmd160init.#{$OBJEXT}" ]
|
|||
|
||||
dir_config("openssl")
|
||||
pkg_config("openssl")
|
||||
require_relative '../../openssl/deprecation'
|
||||
require File.expand_path('../../../openssl/deprecation', __FILE__)
|
||||
|
||||
if !with_config("bundled-rmd160") &&
|
||||
have_library("crypto") && OpenSSL.check_func("RMD160_Transform", "openssl/ripemd.h")
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# -*- coding: us-ascii -*-
|
||||
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
|
||||
# $Id$
|
||||
|
||||
|
@ -10,7 +11,7 @@ $objs = [ "sha1init.#{$OBJEXT}" ]
|
|||
|
||||
dir_config("openssl")
|
||||
pkg_config("openssl")
|
||||
require_relative '../../openssl/deprecation'
|
||||
require File.expand_path('../../../openssl/deprecation', __FILE__)
|
||||
|
||||
if !with_config("bundled-sha1") &&
|
||||
have_library("crypto") && OpenSSL.check_func("SHA1_Transform", "openssl/sha.h")
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# -*- coding: us-ascii -*-
|
||||
# $RoughId: extconf.rb,v 1.4 2001/08/14 19:54:51 knu Exp $
|
||||
# $Id$
|
||||
|
||||
|
@ -10,7 +11,7 @@ $objs = [ "sha2init.#{$OBJEXT}" ]
|
|||
|
||||
dir_config("openssl")
|
||||
pkg_config("openssl")
|
||||
require_relative '../../openssl/deprecation'
|
||||
require File.expand_path('../../../openssl/deprecation', __FILE__)
|
||||
|
||||
if !with_config("bundled-sha2") &&
|
||||
have_library("crypto") &&
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# -*- coding: us-ascii -*-
|
||||
=begin
|
||||
= $RCSfile$ -- Generator for Makefile
|
||||
|
||||
|
@ -15,7 +16,7 @@
|
|||
=end
|
||||
|
||||
require "mkmf"
|
||||
require_relative 'deprecation'
|
||||
require File.expand_path('../deprecation', __FILE__)
|
||||
|
||||
dir_config("openssl")
|
||||
dir_config("kerberos")
|
||||
|
|
Loading…
Reference in a new issue