1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/digest/*/extconf.rb: really fix so that they build from any

directory.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2001-08-14 20:05:21 +00:00
parent ad4c17c021
commit 6ce3130067
5 changed files with 15 additions and 10 deletions

View file

@ -1,3 +1,8 @@
Wed Aug 15 04:59:15 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/*/extconf.rb: really fix so that they build from any
directory.
Wed Aug 15 04:04:02 2001 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/sha2/extconf.rb: fix so that they build from any

View file

@ -1,9 +1,9 @@
# $RoughId: extconf.rb,v 1.1 2001/07/13 15:38:27 knu Exp $
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
# $Id$
require "mkmf"
$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.."
$CFLAGS << " -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.."
$objs = [
"md5.#{$OBJEXT}",

View file

@ -1,9 +1,9 @@
# $RoughId: extconf.rb,v 1.1 2001/07/13 15:38:27 knu Exp $
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
# $Id$
require "mkmf"
$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.."
$CFLAGS << " -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.."
$objs = [
"rmd160.#{$OBJEXT}",

View file

@ -1,9 +1,9 @@
# $RoughId: extconf.rb,v 1.1 2001/07/13 15:38:27 knu Exp $
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
# $Id$
require "mkmf"
$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.."
$CFLAGS << " -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.."
$objs = [
"sha1.#{$OBJEXT}",

View file

@ -1,9 +1,9 @@
# $RoughId: extconf.rb,v 1.1 2001/07/13 15:38:27 knu Exp $
# $RoughId: extconf.rb,v 1.4 2001/08/14 19:54:51 knu Exp $
# $Id$
require "mkmf"
$CFLAGS << " -DHAVE_CONFIG_H -I$(srcdir)/.."
$CFLAGS << " -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.."
$objs = [
"sha2.#{$OBJEXT}",
@ -17,8 +17,8 @@ have_header("inttypes.h")
have_header("unistd.h")
if try_run(<<SRC, $defs.join(' ') + " -I#{$srcdir}")
#include "../defs.h"
if try_run(<<SRC, $defs.join(' '))
#include "defs.h"
int main(void) {
#ifdef NO_UINT64_T
return 1;