Hi, At Fri, 14 Jul 2006 04:04:13 +0900, James F. Hranicky wrote in [ruby-core:08212]: > +if have_library("c", "getpeerucred") > + $defs << "-DHAVE_GETPEERUCRED " > +else > + puts "no getpeerucred" > +end have_library will append that macro automatically, if succeeded. -- Nobu Nakada