Changeset 9962 for issm/trunk


Ignore:
Timestamp:
09/29/11 14:13:38 (13 years ago)
Author:
utke
Message:

fixed comment in ADIC2 macro and copied the ADIC2 macro to a ROSE macro for handling a rose configure option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/m4/issm_options.m4

    r9837 r9962  
    235235                          AS_HELP_STRING([--with-adic2-dir = DIR], [adic2 root directory.]),
    236236                         [ADIC2_ROOT=$withval],[ADIC2_ROOT=""])
    237         AC_MSG_CHECKING(for Scotch)
     237        AC_MSG_CHECKING(for ADIC2)
    238238       
    239239        if test -d "$ADIC2_ROOT"; then
     
    253253        AM_CONDITIONAL([ADIC2], [test x$HAVE_ADIC2 = xyes])
    254254        AC_MSG_RESULT($HAVE_ADIC2)
     255        dnl }}}
     256        dnl rose{{{1
     257        AC_ARG_WITH([rose-dir],
     258                          AS_HELP_STRING([--with-rose-dir = DIR], [rose root directory.]),
     259                         [ROSE_ROOT=$withval],[ROSE_ROOT=""])
     260        AC_MSG_CHECKING(for Rose)
     261       
     262        if test -d "$ROSE_ROOT"; then
     263
     264                dnl defaults
     265                HAVE_ROSE=yes
     266                ROSEINCL="-I$ROSE_ROOT/include"
     267                ROSELIB=""
     268
     269                AC_DEFINE([_HAVE_ROSE_],[1],[with rose in ISSM src])
     270                AC_SUBST([ROSEINCL])
     271                AC_SUBST([ROSELIB])
     272
     273        else
     274                HAVE_ROSE=no
     275        fi
     276        AM_CONDITIONAL([ROSE], [test x$HAVE_ROSE = xyes])
     277        AC_MSG_RESULT($HAVE_ROSE)
    255278        dnl }}}
    256279        dnl metis{{{1
Note: See TracChangeset for help on using the changeset viewer.