Next: , Previous: , Up: The Macros  


ax_count_cpus

Synopsis

AX_COUNT_CPUS

Description

Attempt to count the number of processors present on the machine. If the detection fails, then a value of 1 is assumed.

The value is placed in the CPU_COUNT variable.

Source Code

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

License

Copyright © 2014 Karlson2k (Evgeny Grin) k2k@narod.ru
Copyright © 2012 Brian Aker brian@tangent.org
Copyright © 2008 Michael Paul Bailey jinxidoru@byu.net
Copyright © 2008 Christophe Tournayre turn3r@users.sourceforge.net

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.