Download M4 Source | Macro History | Category Index |
AX_TRILINOS_TEUCHOS([, ACTION-IF-FOUND [,
ACTION-IF-NOT-FOUND]])
On success, adds "include Makefile.export.teuchos" statements to every Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was configured with the --enable-export-makefiles option.
When ACTION-IF-NOT-FOUND is not specified, the default behavior is for configure to fail.
Rhys Ulerich <rhys.ulerich@gmail.com>
2008-11-02
AC_DEFUN([AX_TRILINOS_TEUCHOS],[ AC_REQUIRE([AX_TRILINOS_BASE]) ax_trilinos_teuchos=yes AC_HAVE_LIBRARY([teuchos],[:],[ax_trilinos_teuchos=no]) AX_ADD_AM_TRILINOS_MAKEFILE_EXPORT([teuchos.macros],[ax_trilinos_teuchos=no]) AX_ADD_AM_TRILINOS_MAKEFILE_EXPORT([teuchos],[ax_trilinos_teuchos=no]) if test "$ax_trilinos_teuchos" = yes; then : # NOP ifelse([$1],,, [$1]) else : # NOP ifelse([$2],,AC_MSG_ERROR([Trilinos Teuchos not usable]), [$2]) fi ])
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.