U:RDoc::AnyMethod[iI"have_const:EFI"MakeMakefile#have_const;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"FReturns whether or not the constant +const+ is defined. You may ;TI"Joptionally pass the +type+ of +const+ as [const, type]
, ;TI"
such as:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Lhave_const(%w[PTHREAD_MUTEX_INITIALIZER pthread_mutex_t], "pthread.h")
;T:@format0o;
; [I"PYou may also pass additional +headers+ to check against in addition to the ;TI"Ncommon header files, and additional flags to +opt+ which are then passed ;TI"along to the compiler.;T@o;
; [I"LIf found, a macro is passed as a preprocessor constant to the compiler ;TI"Eusing the type name, in uppercase, prepended with +HAVE_CONST_+.;T@o;
; [I"LFor example, if have_const('foo')
returned true, then the ;TI"I+HAVE_CONST_FOO+ preprocessor macro would be passed to the compiler.;T:
@fileI"lib/mkmf.rb;T:0@omit_headings_from_table_of_contents_below000[ I")(const, headers = nil, opt = "", &b);T@!FI"MakeMakefile;FcRDoc::NormalModule00