October 2000
Intermediate to advanced
432 pages
9h 9m
English
When pondering how to handle a difficult portability problem or configurable option, consider whether the problem is better solved by performing tests at runtime or by providing a configuration file to customize the application. Keep in mind that the results of tests that Autoconf can perform ultimately affect how the program will be built (and can limit the number of machines that the program can be moved to without recompiling it). In the following example, this consideration had to be made in a real-life project:
The pthreads for Win32 project has sought to provide a standards-compliant implementation for the POSIX threads API. It does so by mapping the POSIX API functions into small functions ...
Read now
Unlock full access