ext/digest/sha1/extconf.rb


DEFINITIONS

This source file includes following functions.


   1  # $RoughId: extconf.rb,v 1.3 2001/08/14 19:54:51 knu Exp $
   2  # $Id: extconf.rb,v 1.3 2001/08/14 20:05:21 knu Exp $
   3  
   4  require "mkmf"
   5  
   6  $CFLAGS << " -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.."
   7  
   8  $objs = [
   9    "sha1.#{$OBJEXT}",
  10    "sha1hl.#{$OBJEXT}",
  11    "sha1init.#{$OBJEXT}",
  12  ]
  13  
  14  have_header("sys/cdefs.h")
  15  
  16  have_header("inttypes.h")
  17  
  18  have_header("unistd.h")
  19  
  20  create_makefile("digest/sha1")