Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
MakeMakefile
/
//opt/alt/ruby21/share/ri/2.1.0/system/MakeMakefile/have_func-i.ri
U:RDoc::AnyMethod[iI"have_func:EFI"MakeMakefile#have_func;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"KReturns whether or not the function +func+ can be found in the common ;TI"Pheader files, or within any +headers+ that you provide. If found, a macro ;TI"Mis passed as a preprocessor constant to the compiler using the function ;TI"0name, in uppercase, prepended with +HAVE_+.;To:RDoc::Markup::BlankLine o; ; [I"ITo check functions in an additional library, you need to check that ;TI"Klibrary first using <code>have_library()</code>. The +func+ shall be ;TI"?either mere function name or function name with arguments.;T@o; ; [I"MFor example, if <code>have_func('foo')</code> returned +true+, then the ;TI"C+HAVE_FOO+ preprocessor macro would be passed to the compiler.;T: @fileI"lib/mkmf.rb;T:0@omit_headings_from_table_of_contents_below000[ I"((func, headers = nil, opt = "", &b);T@FI"MakeMakefile;FcRDoc::NormalModule00