From: Dave Thomas Date: 2003-05-27T01:06:11+09:00 Subject: Re: Possible problem with mkmf under Darwin nobu.nokada@softhome.net wrote: >> >> int main() { return 0; } >> int t() { void ((*volatile p)()); p = (void ((*)()))readline; return 0; } >> /* end */ > > > Before it, isn't there this test? > > checked program was: > /* begin */ > > int main() { return 0; } > int t() { readline(); return 0; } > /* end */ Yes, there was... but why would it try the second one if the first one succeeded? Interestingly, though, it now runs successfully. I have no idea what is different: I did nothing to the readline library, but running it again I get Ruby readline support built OK. I was seeing errors saying that libruby-static was out of date, so I did a make clean and a make, and everything just worked. There are days when I hate computers. Cheers Dave