summaryrefslogtreecommitdiff
path: root/ext
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
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')
-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 cbf1e1b60f..0d3b1ca7ea 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 708e6e40f7..a1b178acb7 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 c7d6d4d844..9ab198110a 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 e7ca707cf4..fcbc1ddd8b 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}",