| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/MakeMakefile/ |
Upload File : |
U:RDoc::AnyMethod[iI"create_header:EFI"MakeMakefile#create_header;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"IGenerates a header file consisting of the various macro definitions ;TI"Mgenerated by other methods such as have_func and have_header. These are ;TI"Nthen wrapped in a custom <code>#ifndef</code> based on the +header+ file ;TI")name, which defaults to "extconf.h".;To:RDoc::Markup::BlankLine o;
; [I"For example:;T@o:RDoc::Markup::Verbatim; [I"# extconf.rb
;TI"require 'mkmf'
;TI"have_func('realpath')
;TI" have_header('sys/utime.h')
;TI"create_header
;TI"create_makefile('foo')
;T:@format0o;
; [I"BThe above script would generate the following extconf.h file:;T@o;; [
I"#ifndef EXTCONF_H
;TI"#define EXTCONF_H
;TI"#define HAVE_REALPATH 1
;TI" #define HAVE_SYS_UTIME_H 1
;TI"#endif
;T;
0o;
; [I"OGiven that the create_header method generates a file based on definitions ;TI"Nset earlier in your extconf.rb file, you will probably want to make this ;TI"5one of the last methods you call in your script.;T:
@fileI"lib/mkmf.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(header = "extconf.h");T@,FI"MakeMakefile;FcRDoc::NormalModule00