* ext/digest/sha2/extconf.rb: fix support for cross-compiling.
* mkconfig.rb: fix support for autoconf 2.52. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ba294ad060
commit
e15efe7733
@ -1,3 +1,9 @@
|
|||||||
|
Mon Aug 20 19:53:16 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/digest/sha2/extconf.rb: fix support for cross-compiling.
|
||||||
|
|
||||||
|
* mkconfig.rb: fix support for autoconf 2.52.
|
||||||
|
|
||||||
Mon Aug 20 15:14:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Mon Aug 20 15:14:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* parse.y (tokadd_escape): escaped backslashes too much.
|
* parse.y (tokadd_escape): escaped backslashes too much.
|
||||||
|
@ -17,18 +17,12 @@ have_header("inttypes.h")
|
|||||||
|
|
||||||
have_header("unistd.h")
|
have_header("unistd.h")
|
||||||
|
|
||||||
if try_run(<<SRC, $defs.join(' '))
|
if try_cpp(<<SRC, $defs.join(' '))
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
int main(void) {
|
|
||||||
#ifdef NO_UINT64_T
|
#ifdef NO_UINT64_T
|
||||||
return 1;
|
#error ** Cannot find a 64bit integer type - skipping the SHA2 module.
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
SRC
|
SRC
|
||||||
then
|
then
|
||||||
create_makefile("digest/sha2")
|
create_makefile("digest/sha2")
|
||||||
else
|
|
||||||
puts "** Cannot find a 64bit integer type - skipping the SHA2 module."
|
|
||||||
end
|
end
|
||||||
|
@ -28,7 +28,7 @@ has_srcdir = false
|
|||||||
has_version = false
|
has_version = false
|
||||||
File.foreach "config.status" do |line|
|
File.foreach "config.status" do |line|
|
||||||
next if /^#/ =~ line
|
next if /^#/ =~ line
|
||||||
if /^s[%,]@program_transform_name@[%,]s,(.*)[%,]/ =~ line
|
if /^s[%,]@program_transform_name@[%,]s,(.*)/ =~ line
|
||||||
next if $install_name
|
next if $install_name
|
||||||
ptn = $1.sub(/\$\$/, '$').split(/,/) #'
|
ptn = $1.sub(/\$\$/, '$').split(/,/) #'
|
||||||
v_fast << " CONFIG[\"ruby_install_name\"] = \"" + "ruby".sub(ptn[0],ptn[1]) + "\"\n"
|
v_fast << " CONFIG[\"ruby_install_name\"] = \"" + "ruby".sub(ptn[0],ptn[1]) + "\"\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user