Next: , Up: The Macros  





Find the absolute name of a header file, assuming the header exists. If the header were sys/inttypes.h, this macro would define ABSOLUTE_SYS_INTTYPES_H to the ‘""’ quoted absolute name of sys/inttypes.h in config.h (e.g. ‘#define ABSOLUTE_SYS_INTTYPES_H "///usr/include/sys/inttypes.h"’). The three "///" are to pacify Sun C 5.8, which otherwise would say "warning: #include of /usr/include/... may be non-portable". Use ‘""’, not ‘<>’, so that the /// cannot be confused with a C99 comment.

Source Code

Download the latest version of ax_absolute_header.m4 or browse the macro’s revision history.


Copyright © 2009 Derek Price
Copyright © 2009 Rhys Ulerich

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.