Changeset 9776


Ignore:
Timestamp:
09/12/11 12:43:54 (14 years ago)
Author:
Eric.Larour
Message:

Added more compilation flags for Rifts, 3D, Transient, Steady state, Prognostic, Grounding line migration, Responses.

File:
1 edited

Legend:

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

    r9768 r9776  
    764764        AC_MSG_RESULT(done)
    765765        dnl }}}
     766        dnl with-steadystate{{{1
     767        AC_ARG_WITH([steadystate],AS_HELP_STRING([--with-steadystate = YES], [compile with steadystate capabilities (default is yes)]),[STEADYSTATE=$withval],[STEADYSTATE=yes])
     768        AC_MSG_CHECKING(for steadystate capability compilation)
     769
     770        if test "x$STEADYSTATE" = "xyes"; then
     771
     772                dnl defaults
     773                HAVE_STEADYSTATE=yes
     774
     775                AC_DEFINE([_HAVE_STEADYSTATE_],[1],[with steadystate capability])
     776        else
     777                HAVE_STEADYSTATE=no
     778        fi
     779        AM_CONDITIONAL([STEADYSTATE], [test x$HAVE_STEADYSTATE = xyes])
     780        AC_MSG_RESULT($HAVE_STEADYSTATE)
     781        dnl }}}
     782        dnl with-transient{{{1
     783        AC_ARG_WITH([transient],AS_HELP_STRING([--with-transient = YES], [compile with transient capabilities (default is yes)]),[TRANSIENT=$withval],[TRANSIENT=yes])
     784        AC_MSG_CHECKING(for transient capability compilation)
     785
     786        if test "x$TRANSIENT" = "xyes"; then
     787
     788                dnl defaults
     789                HAVE_TRANSIENT=yes
     790
     791                AC_DEFINE([_HAVE_TRANSIENT_],[1],[with transient capability])
     792        else
     793                HAVE_TRANSIENT=no
     794        fi
     795        AM_CONDITIONAL([TRANSIENT], [test x$HAVE_TRANSIENT = xyes])
     796        AC_MSG_RESULT($HAVE_TRANSIENT)
     797        dnl }}}
    766798        dnl with-thermal{{{1
    767799        AC_ARG_WITH([thermal],AS_HELP_STRING([--with-thermal = YES], [compile with thermal capabilities (default is yes)]),[THERMAL=$withval],[THERMAL=yes])
     
    780812        AC_MSG_RESULT($HAVE_THERMAL)
    781813        dnl }}}
     814        dnl with-prognostic{{{1
     815        AC_ARG_WITH([prognostic],AS_HELP_STRING([--with-prognostic = YES], [compile with prognostic capabilities (default is yes)]),[PROGNOSTIC=$withval],[PROGNOSTIC=yes])
     816        AC_MSG_CHECKING(for prognostic capability compilation)
     817
     818        if test "x$PROGNOSTIC" = "xyes"; then
     819
     820                dnl defaults
     821                HAVE_PROGNOSTIC=yes
     822
     823                AC_DEFINE([_HAVE_PROGNOSTIC_],[1],[with prognostic capability])
     824        else
     825                HAVE_PROGNOSTIC=no
     826        fi
     827        AM_CONDITIONAL([PROGNOSTIC], [test x$HAVE_PROGNOSTIC = xyes])
     828        AC_MSG_RESULT($HAVE_PROGNOSTIC)
     829        dnl }}}
    782830        dnl with-control{{{1
    783831        AC_ARG_WITH([control],AS_HELP_STRING([--with-control = YES], [compile with control capabilities (default is yes)]),[CONTROL=$withval],[CONTROL=yes])
     
    843891        AM_CONDITIONAL([BALANCED], [test x$HAVE_BALANCED = xyes])
    844892        AC_MSG_RESULT($HAVE_BALANCED)
     893        dnl }}}
     894        dnl with-responses{{{1
     895        AC_ARG_WITH([responses],AS_HELP_STRING([--with-responses = YES], [compile with responses capabilities (default is yes)]),[RESPONSES=$withval],[RESPONSES=yes])
     896        AC_MSG_CHECKING(for responses capability compilation)
     897
     898        if test "x$RESPONSES" = "xyes"; then
     899
     900                dnl defaults
     901                HAVE_RESPONSES=yes
     902
     903                AC_DEFINE([_HAVE_RESPONSES_],[1],[with responses capability])
     904        else
     905                HAVE_RESPONSES=no
     906        fi
     907        AM_CONDITIONAL([RESPONSES], [test x$HAVE_RESPONSES = xyes])
     908        AC_MSG_RESULT($HAVE_RESPONSES)
     909        dnl }}}
     910        dnl with-slope{{{1
     911        AC_ARG_WITH([slope],AS_HELP_STRING([--with-slope = YES], [compile with slope capabilities (default is yes)]),[SLOPE=$withval],[SLOPE=yes])
     912        AC_MSG_CHECKING(for slope capability compilation)
     913
     914        if test "x$SLOPE" = "xyes"; then
     915
     916                dnl defaults
     917                HAVE_SLOPE=yes
     918
     919                AC_DEFINE([_HAVE_SLOPE_],[1],[with slope capability])
     920        else
     921                HAVE_SLOPE=no
     922        fi
     923        AM_CONDITIONAL([SLOPE], [test x$HAVE_SLOPE = xyes])
     924        AC_MSG_RESULT($HAVE_SLOPE)
     925        dnl }}}
     926        dnl with-groundingline{{{1
     927        AC_ARG_WITH([groundingline],AS_HELP_STRING([--with-groundingline = YES], [compile with groundingline capabilities (default is yes)]),[GROUNDINGLINE=$withval],[GROUNDINGLINE=yes])
     928        AC_MSG_CHECKING(for groundingline capability compilation)
     929
     930        if test "x$GROUNDINGLINE" = "xyes"; then
     931
     932                dnl defaults
     933                HAVE_GROUNDINGLINE=yes
     934
     935                AC_DEFINE([_HAVE_GROUNDINGLINE_],[1],[with groundingline capability])
     936        else
     937                HAVE_GROUNDINGLINE=no
     938        fi
     939        AM_CONDITIONAL([GROUNDINGLINE], [test x$HAVE_GROUNDINGLINE = xyes])
     940        AC_MSG_RESULT($HAVE_GROUNDINGLINE)
     941        dnl }}}
     942        dnl with-rifts{{{1
     943        AC_ARG_WITH([rifts],AS_HELP_STRING([--with-rifts = YES], [compile with rifts capabilities (default is yes)]),[RIFTS=$withval],[RIFTS=yes])
     944        AC_MSG_CHECKING(for rifts capability compilation)
     945
     946        if test "x$RIFTS" = "xyes"; then
     947
     948                dnl defaults
     949                HAVE_RIFTS=yes
     950
     951                AC_DEFINE([_HAVE_RIFTS_],[1],[with rifts capability])
     952        else
     953                HAVE_RIFTS=no
     954        fi
     955        AM_CONDITIONAL([RIFTS], [test x$HAVE_RIFTS = xyes])
     956        AC_MSG_RESULT($HAVE_RIFTS)
     957        dnl }}}
     958        dnl with-3d{{{1
     959        AC_ARG_WITH([3d],AS_HELP_STRING([--with-3d = YES], [compile with 3d capabilities (default is yes)]),[THREED=$withval],[THREED=yes])
     960        AC_MSG_CHECKING(for 3d capability compilation)
     961
     962        if test "x$THREED" = "xyes"; then
     963
     964                dnl defaults
     965                HAVE_THREED=yes
     966
     967                AC_DEFINE([_HAVE_THREED_],[1],[with 3d capability])
     968        else
     969                HAVE_THREED=no
     970        fi
     971        AM_CONDITIONAL([THREED], [test x$HAVE_THREED = xyes])
     972        AC_MSG_RESULT($HAVE_THREED)
    845973        dnl }}}
    846974
Note: See TracChangeset for help on using the changeset viewer.