D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
MakeMakefile
/
Filename :
enable_config-i.ri
back
Copy
U:RDoc::AnyMethod[iI"enable_config:ETI"MakeMakefile#enable_config;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"@Tests for the presence of an <tt>--enable-</tt>_config_ or ;TI"P<tt>--disable-</tt>_config_ option. Returns +true+ if the enable option is ;TI"Jgiven, +false+ if the disable option is given, and the default value ;TI"otherwise.;To:RDoc::Markup::BlankLine o; ; [I"EThis can be useful for adding custom definitions, such as debug ;TI"information.;T@o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [I"if enable_config("debug") ;TI"H $defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG" ;TI"end;T:@format0: @fileI"lib/mkmf.rb;T:0@omit_headings_from_table_of_contents_below00I"config, default;T[ I"(config, default=nil);T@FI"MakeMakefile;TcRDoc::NormalModule00