From f4b516777be7c1403deba3cfc653dcfb56f3d7f4 Mon Sep 17 00:00:00 2001 From: knu Date: Sat, 14 Jul 2001 03:29:50 +0000 Subject: * 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 --- ext/digest/md5/extconf.rb | 2 +- ext/digest/rmd160/extconf.rb | 2 +- ext/digest/sha1/extconf.rb | 2 +- ext/digest/sha2/extconf.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/digest') 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}", -- cgit v1.2.3