diff --git a/ChangeLog b/ChangeLog index 18dc6b874b..ff8fa5f0f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 28 18:53:03 2003 WATANABE Hirofumi + + * ext/openssl/extconf.rb: check again after pkg-config for MinGW on + Cygwin. + Mon Jul 28 15:32:04 2003 Yukihiro Matsumoto * ext/stringio/stringio.c (strio_gets): only "gets" should set $_. diff --git a/ext/openssl/extconf.rb b/ext/openssl/extconf.rb index fe4d2d6542..632f0dac47 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