summaryrefslogtreecommitdiff
path: root/ext/extmk.rb.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-29 17:27:11 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-29 17:27:11 +0000
commit653f326bb108108b82890e37400b4ca6e851e7ed (patch)
tree733c9f3d856ee768cb17a77c8cc45e61cf6088ac /ext/extmk.rb.in
parent69b463d9a32e523aa918ec74ed908ec490a4d4d0 (diff)
* ext/extmk.rb.in (have_library): do not print yes. sigh.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/extmk.rb.in')
-rw-r--r--ext/extmk.rb.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/extmk.rb.in b/ext/extmk.rb.in
index c6f52dd..86dd67e 100644
--- a/ext/extmk.rb.in
+++ b/ext/extmk.rb.in
@@ -196,10 +196,7 @@ def have_library(lib, func="main")
if func && func != ""
libs = append_library($libs, lib)
if /mswin32|mingw/ =~ RUBY_PLATFORM
- if lib == 'm'
- print "yes\n"
- return true
- end
+ return true if lib == 'm'
r = try_link(<<"SRC", libs)
#include <windows.h>
#include <winsock.h>