From: Nobuyoshi Nakada Date: 2007-04-13T02:51:25+09:00 Subject: Re: Turning off verbose output for mkmf Hi, At Fri, 13 Apr 2007 00:24:25 +0900, Berger, Daniel wrote in [ruby-core:10912]: > The problem with this approach is that it requires that I know, in > advance, which platforms support the waitid() function and which don't. > What I would rather do is this: What about: class << (conftest = Object.new) def message(*s); end public(*private_methods(true).grep(/^(append|have|find)_/)) end if conftest.have_func('waitid') > def test_waitid > ... > end > end -- Nobu Nakada