summaryrefslogtreecommitdiff
path: root/ext/digest
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-14 03:29:50 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-07-14 03:29:50 +0000
commitf4b516777be7c1403deba3cfc653dcfb56f3d7f4 (patch)
tree5200f6eb4e4b4807230b40ba748e10cd9c26deb9 /ext/digest
parenta2193f50e80823d34e3d283effb2b4539c15b6f2 (diff)
* ext/digest/*/extconf.rb: fix so that they build from any
directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest')
-rw-r--r--ext/digest/md5/extconf.rb2
-rw-r--r--ext/digest/rmd160/extconf.rb2
-rw-r--r--ext/digest/sha1/extconf.rb2
-rw-r--r--ext/digest/sha2/extconf.rb2
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/digest/md5/extconf.rb b/ext/digest/md5/extconf.rb
index cbf1e1b60f8..0d3b1ca7ea5 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 708e6e40f77..a1b178acb7f 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 c7d6d4d8440..9ab198110af 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 e7ca707cf4e..fcbc1ddd8be 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}",