diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/digest/md5/extconf.rb | 2 | ||||
-rw-r--r-- | ext/digest/rmd160/extconf.rb | 2 | ||||
-rw-r--r-- | ext/digest/sha1/extconf.rb | 2 | ||||
-rw-r--r-- | ext/digest/sha2/extconf.rb | 2 |
5 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +Sat Jul 14 12:26:30 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> + + * ext/digest/*/extconf.rb: fix so that they build from any + directory. + Sat Jul 14 06:20:17 2001 Minero Aoki <aamine@loveruby.net> * lib/net/http.rb: HTTP#proxy? did not worked. diff --git a/ext/digest/md5/extconf.rb b/ext/digest/md5/extconf.rb index cbf1e1b60..0d3b1ca7e 100644 --- a/ext/digest/md5/extconf.rb +++ b/ext/digest/md5/extconf.rb @@ -3,7 +3,7 @@ require "mkmf" -$CFLAGS << " -DHAVE_CONFIG_H -I.." +$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.." $objs = [ "md5.#{$OBJEXT}", diff --git a/ext/digest/rmd160/extconf.rb b/ext/digest/rmd160/extconf.rb index 708e6e40f..a1b178acb 100644 --- a/ext/digest/rmd160/extconf.rb +++ b/ext/digest/rmd160/extconf.rb @@ -3,7 +3,7 @@ require "mkmf" -$CFLAGS << " -DHAVE_CONFIG_H -I.." +$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.." $objs = [ "rmd160.#{$OBJEXT}", diff --git a/ext/digest/sha1/extconf.rb b/ext/digest/sha1/extconf.rb index c7d6d4d84..9ab198110 100644 --- a/ext/digest/sha1/extconf.rb +++ b/ext/digest/sha1/extconf.rb @@ -3,7 +3,7 @@ require "mkmf" -$CFLAGS << " -DHAVE_CONFIG_H -I.." +$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.." $objs = [ "sha1.#{$OBJEXT}", diff --git a/ext/digest/sha2/extconf.rb b/ext/digest/sha2/extconf.rb index e7ca707cf..fcbc1ddd8 100644 --- a/ext/digest/sha2/extconf.rb +++ b/ext/digest/sha2/extconf.rb @@ -3,7 +3,7 @@ require "mkmf" -$CFLAGS << " -DHAVE_CONFIG_H -I.." +$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.." $objs = [ "sha2.#{$OBJEXT}", |