зеркало из https://github.com/github/ruby.git
* 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:
Родитель
ad4c17c021
Коммит
6ce3130067
|
@ -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
|
||||
|
|
|
@ -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}",
|
||||
|
|
|
@ -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}",
|
||||
|
|
|
@ -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}",
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче