Changeset 12411


Ignore:
Timestamp:
06/13/12 12:14:34 (13 years ago)
Author:
Mathieu Morlighem
Message:

Added Kriging swith on/off for compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r12323 r12411  
    991991        AC_MSG_RESULT(done)
    992992        dnl }}}
     993        dnl with-kriging{{{
     994        AC_ARG_WITH([kriging],
     995                AS_HELP_STRING([--with-kriging = YES],[compile with kriging capabilities (default is yes)]),
     996                [KRIGING=$withval],[KRIGING=yes])
     997        AC_MSG_CHECKING(for kriging capability compilation)
     998
     999        if test "x$KRIGING" = "xyes"; then
     1000                HAVE_KRIGING=yes
     1001                AC_DEFINE([_HAVE_KRIGING_],[1],[with kriging capability])
     1002        else
     1003                HAVE_KRIGING=no
     1004        fi
     1005        AM_CONDITIONAL([KRIGING], [test x$HAVE_KRIGING = xyes])
     1006        AC_MSG_RESULT($HAVE_KRIGING)
     1007        dnl }}}
    9931008        dnl with-steadystate{{{
    9941009        AC_ARG_WITH([steadystate],
Note: See TracChangeset for help on using the changeset viewer.