mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/extconf.rb: suppress useless deprecation warnings
from OpenSSL added by Apple. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a77ea177fe
commit
4c12eb747e
6 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Feb 27 10:48:49 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/openssl/extconf.rb: suppress useless deprecation warnings
|
||||
from OpenSSL added by Apple.
|
||||
|
||||
Sun Feb 26 23:29:49 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* regparse.c (add_code_range_to_buf0): wrong condition of duplicated
|
||||
|
|
|
@ -22,4 +22,7 @@ have_header("sys/cdefs.h")
|
|||
|
||||
$preload = %w[digest]
|
||||
|
||||
if try_compile("", flag = " -Wno-deprecated-declarations")
|
||||
$warnflags << flag
|
||||
end
|
||||
create_makefile("digest/md5")
|
||||
|
|
|
@ -21,4 +21,7 @@ have_header("sys/cdefs.h")
|
|||
|
||||
$preload = %w[digest]
|
||||
|
||||
if try_compile("", flag = " -Wno-deprecated-declarations")
|
||||
$warnflags << flag
|
||||
end
|
||||
create_makefile("digest/rmd160")
|
||||
|
|
|
@ -21,4 +21,7 @@ have_header("sys/cdefs.h")
|
|||
|
||||
$preload = %w[digest]
|
||||
|
||||
if try_compile("", flag = " -Wno-deprecated-declarations")
|
||||
$warnflags << flag
|
||||
end
|
||||
create_makefile("digest/sha1")
|
||||
|
|
|
@ -26,5 +26,8 @@ have_header("sys/cdefs.h")
|
|||
$preload = %w[digest]
|
||||
|
||||
if have_type("uint64_t", "defs.h", $defs.join(' '))
|
||||
if try_compile("", flag = " -Wno-deprecated-declarations")
|
||||
$warnflags << flag
|
||||
end
|
||||
create_makefile("digest/sha2")
|
||||
end
|
||||
|
|
|
@ -146,6 +146,9 @@ have_struct_member("X509_ATTRIBUTE", "single", "openssl/x509.h")
|
|||
|
||||
message "=== Checking done. ===\n"
|
||||
|
||||
if try_compile("", flag = " -Wno-deprecated-declarations")
|
||||
$warnflags << flag
|
||||
end
|
||||
create_header
|
||||
create_makefile("openssl")
|
||||
message "Done.\n"
|
||||
|
|
Loading…
Reference in a new issue