Skip to content

Commit

Permalink
* ext/digest/sha2/extconf.rb: fix support for cross-compiling.
Browse files Browse the repository at this point in the history
* mkconfig.rb: fix support for autoconf 2.52.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Aug 20, 2001
1 parent c7e9e1f commit 3b0216f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.

Wed Aug 17 13:55:33 2001 Usaku Nakamura <usa@ruby-lang.org>

* win32/Makefile.sub: merge from 1.7: use del instead of rm.
Expand Down
10 changes: 2 additions & 8 deletions ext/digest/sha2/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,12 @@

have_header("unistd.h")

if try_run(<<SRC, $defs.join(' '))
if try_cpp(<<SRC, $defs.join(' '))
#include "defs.h"
int main(void) {
#ifdef NO_UINT64_T
return 1;
#else
return 0;
#error ** Cannot find a 64bit integer type - skipping the SHA2 module.
#endif
}
SRC
then
create_makefile("digest/sha2")
else
puts "** Cannot find a 64bit integer type - skipping the SHA2 module."
end
2 changes: 1 addition & 1 deletion mkconfig.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module Config
has_version = false
File.foreach "config.status" do |$_|
next if /^#/
if /^s[%,]@program_transform_name@[%,]s,(.*)[%,]/
if /^s[%,]@program_transform_name@[%,]s,(.*)/
next if $install_name
ptn = $1.sub(/\$\$/, '$').split(/,/) #'
v_fast << " CONFIG[\"ruby_install_name\"] = \"" + "ruby".sub(ptn[0],ptn[1]) + "\"\n"
Expand Down
4 changes: 2 additions & 2 deletions version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define RUBY_VERSION "1.6.4"
#define RUBY_RELEASE_DATE "2001-08-16"
#define RUBY_RELEASE_DATE "2001-08-20"
#define RUBY_VERSION_CODE 164
#define RUBY_RELEASE_CODE 20010816
#define RUBY_RELEASE_CODE 20010820

0 comments on commit 3b0216f

Please sign in to comment.