Previous: System Services, Up: Existing Tests
The following macros check for certain operating systems that need special treatment for some programs, due to exceptional oddities in their header files or libraries. These macros are warts; they will be replaced by a more systematic approach, based on the functions they make available or the environments they provide.
If on AIX, define
_ALL_SOURCE. Allows the use of some BSD functions. Should be called before any macros that run the C compiler.
If using the GNU C library, define
_GNU_SOURCE. Allows the use of some GNU functions. Should be called before any macros that run the C compiler.
For interactive unix (ISC), add -lcposix to output variable
LIBSif necessary for POSIX facilities. Call this afterAC_PROG_CCand before any other macros that use POSIX interfaces. interactive unix is no longer sold, and Sun says that they will drop support for it on 2006-07-23, so this macro is becoming obsolescent.