Flowdock
method

have_header

Importance_1
v2_5_5 - Show latest stable - 0 notes - Class: MakeMakefile
have_header(header, preheaders = nil, opt = "", &b) public

Returns whether or not the given header file can be found on your system. If found, a macro is passed as a preprocessor constant to the compiler using the header file name, in uppercase, prepended with HAVE_.

For example, if have_header(‘foo.h’) returned true, then the HAVE_FOO_H preprocessor macro would be passed to the compiler.

Show source
Register or log in to add new notes.