summaryrefslogtreecommitdiff
path: root/ext/digest/sha1/extconf.rb
blob: b5c111f36e646c419371350630eb5bace85684d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- coding: us-ascii -*-
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
# $Id$

require "mkmf"
require File.expand_path("../../digest_conf", __FILE__)

$defs << "-DHAVE_CONFIG_H"

$objs = [ "sha1init.#{$OBJEXT}" ]

digest_conf("sha1", "sha", "SHA")

have_header("sys/cdefs.h")

$preload = %w[digest]

create_makefile("digest/sha1")