aboutsummaryrefslogtreecommitdiffstats
path: root/extconf.rb
diff options
context:
space:
mode:
authorMichal Rokos <m.rokos@sh.cvut.cz>2001-11-21 21:31:56 +0000
committerMichal Rokos <m.rokos@sh.cvut.cz>2001-11-21 21:31:56 +0000
commit1c8834d13a4505af0c91530e1f505df325d45fe9 (patch)
tree5d385cf1931f04ee80bed016f1dbdcb209af5e02 /extconf.rb
parent2577414c0428ea652b6ad18f66dd4e50bb89de3a (diff)
downloadruby-openssl-history-1c8834d13a4505af0c91530e1f505df325d45fe9.tar.gz
- BN added (only proof of concept)
- indent changed - rand.h to ossl.h added
Diffstat (limited to 'extconf.rb')
-rw-r--r--extconf.rb11
1 files changed, 4 insertions, 7 deletions
diff --git a/extconf.rb b/extconf.rb
index 092f40b..b1b929e 100644
--- a/extconf.rb
+++ b/extconf.rb
@@ -15,12 +15,9 @@ 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")
+if have_header("openssl/ssl.h")
+ if have_library(CRYPTOLIB, nil) and have_library(SSLLIB, nil) #"SSLv23_method")
create_makefile("openssl")
-# end
-#end
+ end
+end