2012-11-26 19:58:52 -05:00
|
|
|
# -*- coding: us-ascii -*-
|
2015-12-16 00:31:54 -05:00
|
|
|
# frozen_string_literal: false
|
2001-08-14 16:05:21 -04:00
|
|
|
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
|
2001-07-13 16:06:14 -04:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
require "mkmf"
|
2015-02-10 21:08:50 -05:00
|
|
|
require File.expand_path("../../digest_conf", __FILE__)
|
2001-07-13 16:06:14 -04:00
|
|
|
|
2006-05-25 19:44:08 -04:00
|
|
|
$defs << "-DHAVE_CONFIG_H"
|
2001-07-13 16:06:14 -04:00
|
|
|
|
2002-09-26 13:44:33 -04:00
|
|
|
$objs = [ "sha1init.#{$OBJEXT}" ]
|
|
|
|
|
2015-11-26 03:31:12 -05:00
|
|
|
digest_conf("sha1", "sha", nil, %w[SHA])
|
2001-07-13 16:06:14 -04:00
|
|
|
|
|
|
|
have_header("sys/cdefs.h")
|
|
|
|
|
2004-01-07 17:06:38 -05:00
|
|
|
$preload = %w[digest]
|
|
|
|
|
2001-07-13 16:06:14 -04:00
|
|
|
create_makefile("digest/sha1")
|