1
# $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
2
# $Id: extconf.rb 11708 2007-02-12 23:01:19Z shyouhei $
6
$defs << "-DHAVE_CONFIG_H"
7
$INCFLAGS << " -I$(srcdir)/.."
9
$objs = [ "sha1init.#{$OBJEXT}" ]
13
if !with_config("bundled-sha1") &&
14
have_library("crypto") && have_header("openssl/sha.h")
15
$objs << "sha1ossl.#{$OBJEXT}"
17
$objs << "sha1.#{$OBJEXT}"
20
have_header("sys/cdefs.h")
22
have_header("inttypes.h")
24
have_header("unistd.h")
28
create_makefile("digest/sha1")