diff options
Diffstat (limited to 'ext/digest/sha1/extconf.rb')
-rw-r--r-- | ext/digest/sha1/extconf.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ext/digest/sha1/extconf.rb b/ext/digest/sha1/extconf.rb new file mode 100644 index 0000000000..c7d6d4d844 --- /dev/null +++ b/ext/digest/sha1/extconf.rb @@ -0,0 +1,20 @@ +# $RoughId: extconf.rb,v 1.1 2001/07/13 15:38:27 knu Exp $ +# $Id$ + +require "mkmf" + +$CFLAGS << " -DHAVE_CONFIG_H -I.." + +$objs = [ + "sha1.#{$OBJEXT}", + "sha1hl.#{$OBJEXT}", + "sha1init.#{$OBJEXT}", +] + +have_header("sys/cdefs.h") + +have_header("inttypes.h") + +have_header("unistd.h") + +create_makefile("digest/sha1") |