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 
Copyright © 2009 Thomas Porschberg 
Copyright © 2009 Caolan McNamara 
Copyright © 2009 Alexandre Duret-Lutz 
Copyright © 2009 Matthew Mueller 

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.