Next: , Previous: , Up: The Macros  





Enables the use of make’s jobserver for the purpose of parallel building by passing the -j option to make.

The option –enable-jobserver is added to configure which can accept a yes, no, or an integer. The integer is the number of separate jobs to allow. If ’yes’ is given, then the is assumed to be one more than the number of CPUs (determined through AX_COUNT_CPUS). If the value of no is given, then the jobserver is disabled. The default value is given by the first argument of the macro, or ’yes’ if the argument is omitted.

This macro makes use of AX_AM_MACROS, so you must add the following line


to your files.

Source Code

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


Copyright © 2008 Michael Paul Bailey

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.