ext/digest/md5/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:20 knu Exp $
   3  
   4  require "mkmf"
   5  
   6  $CFLAGS << " -DHAVE_CONFIG_H -I#{File.dirname(__FILE__)}/.."
   7  
   8  $objs = [
   9    "md5.#{$OBJEXT}",
  10    "md5init.#{$OBJEXT}",
  11  ]
  12  
  13  have_header("sys/cdefs.h")
  14  
  15  have_header("inttypes.h")
  16  
  17  have_header("unistd.h")
  18  
  19  create_makefile("digest/md5")