Changeset 19636


Ignore:
Timestamp:
Oct 14, 2015, 2:16:56 PM (11 years ago)
Author:
Eric.Larour
Message:

CHG: better fix for ISSM_DAKOTA conditional.

File:
1 edited

Legend:

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

    r19635 r19636  
    427427        AC_MSG_RESULT($HAVE_DAKOTA)
    428428        AM_CONDITIONAL([DAKOTA],[test x$HAVE_DAKOTA = xyes])
    429         ISSM_DAKOTA=no
    430429
    431430        dnl library and header files
    … …  
    460459                                        AC_DEFINE([DISABLE_DAKOTA_CONFIG_H],[1],[disabling DAKOTA_CONFIG_H])
    461460                                        AC_DEFINE([DAKOTA_HAVE_MPI],[1],[enabling parallel MPI])
    462                                         ISSM_DAKOTA=yes
    463461                                else
    464462                                        AC_MSG_ERROR([Dakota version not found or version ($DAKOTA_VERSION) not supported!]);
    … …  
    481479                                        AC_DEFINE([DISABLE_DAKOTA_CONFIG_H],[1],[disabling DAKOTA_CONFIG_H])
    482480                                        AC_DEFINE([DAKOTA_HAVE_MPI],[1],[enabling parallel MPI])
    483                                         ISSM_DAKOTA=yes
    484481                                else
    485482                                        AC_MSG_ERROR([Dakota version not found or version ($DAKOTA_VERSION) not supported!]);
    … …  
    549546                AC_SUBST([DAKOTALIB])
    550547        fi
    551 
    552         AM_CONDITIONAL([ISSM_DAKOTA],[test x$ISSM_DAKOTA = xyes])
     548        AM_CONDITIONAL([ISSM_DAKOTA],[test x$DAKOTA_MAJOR = x6])
    553549        dnl }}}
    554550        dnl python{{{
Note: See TracChangeset for help on using the changeset viewer.