From: "Iñaki Baz Castillo" Date: 2012-05-28T23:34:24+09:00 Subject: Re: [C exten] extconf.rg and #ifdef 2012/5/28 Peter Zotov : > Yeah, that's pretty much how configure scripts work. (More complex ones like > that from autoconf create config.h with the definitions, but you're unlikely > to need this.) Thanks, I understand. However that worries me is the fact that the "workaround" is modifyng $defs global variable: $defs.push("-D#{name}") Is it expected that such a $defs variable will exist forever in extconf.rb/MKMF stuff? Thanks a lot. -- Iñaki Baz Castillo