diff options
author | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-01-04 11:12:22 +0000 |
---|---|---|
committer | Michal Rokos <m.rokos@sh.cvut.cz> | 2002-01-04 11:12:22 +0000 |
commit | 30c7790a512172b5254775fbad8f601d5638c1e6 (patch) | |
tree | 39a0ceb2db8fcd07e8b82bc107e5cc2a05df9d24 /extconf.rb | |
parent | 99d5a24aa57c9eb4ac792a36e0947dc5df84fe8c (diff) | |
download | ruby-openssl-history-30c7790a512172b5254775fbad8f601d5638c1e6.tar.gz |
* Further checking (Check_SafeStr, memory leaks)
Diffstat (limited to 'extconf.rb')
-rw-r--r-- | extconf.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -23,6 +23,11 @@ dir_config("openssl") have_func("strncasecmp", "string.h") have_func("strptime", "time.h") +if with_config("debug") or enable_config("debug") # '--enable-debug' or '--with-debug=yes' + $defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG" + $CPPFLAGS += " " + "-Wall" unless $CPPFLAGS.split.include? "-Wall" +end + if have_header("openssl/ssl.h") if have_library(CRYPTOLIB, nil) and have_library(SSLLIB, nil) #"SSLv23_method") create_makefile("openssl") |