aboutsummaryrefslogtreecommitdiffstats
path: root/extconf.rb
diff options
context:
space:
mode:
authorMichal Rokos <m.rokos@sh.cvut.cz>2001-11-16 11:20:13 +0000
committerMichal Rokos <m.rokos@sh.cvut.cz>2001-11-16 11:20:13 +0000
commit8903e757c052d3a99aada758bb628ec135360e60 (patch)
tree5f0e99803c1fc5c6909fd7d325d0f279265b97cf /extconf.rb
downloadruby-openssl-history-8903e757c052d3a99aada758bb628ec135360e60.tar.gz
Initial revision
Diffstat (limited to 'extconf.rb')
-rw-r--r--extconf.rb26
1 files changed, 26 insertions, 0 deletions
diff --git a/extconf.rb b/extconf.rb
new file mode 100644
index 0000000..092f40b
--- /dev/null
+++ b/extconf.rb
@@ -0,0 +1,26 @@
+=begin
+$Id$
+'OpenSSL for Ruby' project
+Copyright (C) 2001 Michal Rokos <m.rokos@sh.cvut.cz>
+All rights reserved.
+
+This program is licenced under the same licence as Ruby.
+(See the file 'LICENCE'.)
+=end
+
+require "mkmf"
+
+CRYPTOLIB="crypto"
+SSLLIB="ssl"
+
+dir_config("openssl")
+
+have_library(CRYPTOLIB, nil)
+have_library(SSLLIB, "SSLv23_method")
+
+#if have_header("openssl/ssl.h")
+# if have_library(CRYPTOLIB, "SSLv23_method")
+ create_makefile("openssl")
+# end
+#end
+