Next: , Previous: , Up: The Macros  


ax_trilinos_base

Synopsis

   AX_TRILINOS_BASE([, MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])

Description

Test for the Trilinos (http://trilinos.sandia.gov/) libraries.

Provides a –with-trilinos=DIR option. Searches –with-trilinos, $TRILINOS_HOME, and the usual places for Trilinos installation headers.

Requires that a development branch or released version greater than MINIMUM-VERSION be found. If not specified, the default minimum version is 8.0.0.

Supports separately specifying –with-trilinos-include or –with-trilinos-libdir to override default locations underneath either –with-trilinos or $TRILINOS_HOME.

On success, adds -Ipath to CPPFLAGS, -Lpath to LDFLAGS, sets the variable TRILINOS_INCLUDE based on the discovered location of Trilinos_version.h, and #defines HAVE_TRILINOS. When ACTION-IF-NOT-FOUND is not specified, the default behavior is for configure to fail.

Source Code

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

License

Copyright © 2009 Rhys Ulerich rhys.ulerich@gmail.com
Copyright © 2009 Thomas Porschberg thomas@randspringer.de
Copyright © 2009 Caolan McNamara caolan@skynet.ie
Copyright © 2009 Alexandre Duret-Lutz adl@gnu.org
Copyright © 2009 Matthew Mueller donut@azstarnet.com

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.