From 85efe85ffab83ac97fc60ee7a51095923c7eab5d Mon Sep 17 00:00:00 2001 From: eban Date: Mon, 28 Jul 2003 09:55:12 +0000 Subject: * ext/openssl/extconf.rb: check again after pkg-config for MinGW on Cygwin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/extconf.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index fe4d2d654..632f0dac4 100644 --- a/ext/openssl/extconf.rb +++ b/ext/openssl/extconf.rb @@ -79,7 +79,9 @@ if !result $CFLAGS += " " << `#{pkgconfig} --cflags openssl`.chomp $DLDFLAGS += " " << `#{pkgconfig} --libs-only-L openssl`.chomp $LIBS += " " << `#{pkgconfig} --libs-only-l openssl`.chomp - else + result = have_header("openssl/ssl.h") + end + if !result message "=== Checking for required stuff failed. ===\n" message "Makefile wasn't created. Fix the errors above.\n" exit 1 -- cgit