Hi,

At Mon, 21 Jul 2003 17:12:59 +0900,
Michal Rokos wrote:
> I'm trying to bring OpenSSL < 0.9.6 to OSSL2 module and while doing this
> I needed to test whether some constats and functions are defined in
> some.h.
> 
> I didn't find the way to do this in current mkmf.rb, so I defined
> function have_defined() to solve this.

There is macro_defined? function.

> The second thing I was facing was testing whether some struct has
> member. The current function have_struct_member() defined
> -DHAVE_ST_MEMBER, but for 2 struct and same member you cannot
> distinguish which one is defined and which isn't. So I changed it to
> -DHAVE_ST_STRUCT_MEMBER.

I agree with this.

-- 
Nobu Nakada