summaryrefslogtreecommitdiff
path: root/ext/digest/rmd160/extconf.rb
blob: 49c26b09451450beedd04aa9eed1b6fbd9787abe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*- 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 << "-DNDEBUG" << "-DHAVE_CONFIG_H"
$INCFLAGS << " -I$(srcdir)/.."

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

digest_conf("rmd160", "ripemd", "RIPEMD160")

have_header("sys/cdefs.h")

$preload = %w[digest]

create_makefile("digest/rmd160")