Changeset 17832


Ignore:
Timestamp:
04/23/14 16:13:45 (11 years ago)
Author:
Mathieu Morlighem
Message:

NEW: added balancethickness2 solution for debugging with Jerome

File:
1 edited

Legend:

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

    r17776 r17832  
    1111
    1212dnl with-AdjointBalancethickness{{{
     13
    1314AC_ARG_WITH([AdjointBalancethickness],
     15
    1416        AS_HELP_STRING([--with-AdjointBalancethickness = YES], [compile with AdjointBalancethickness capabilities (default is yes)]),
     17
    1518        [ADJOINTBALANCETHICKNESS=$withval],[ADJOINTBALANCETHICKNESS=yes])
     19
    1620AC_MSG_CHECKING(for AdjointBalancethickness capability compilation)
    1721
     22
    1823HAVE_ADJOINTBALANCETHICKNESS=no
     24
    1925if test "x$ADJOINTBALANCETHICKNESS" = "xyes"; then
     26
    2027        HAVE_ADJOINTBALANCETHICKNESS=yes
     28
    2129        AC_DEFINE([_HAVE_ADJOINTBALANCETHICKNESS_],[1],[with AdjointBalancethicknesscapability])
    22 fi
     30
     31fi
     32
    2333AM_CONDITIONAL([ADJOINTBALANCETHICKNESS], [test x$HAVE_ADJOINTBALANCETHICKNESS = xyes])
     34
    2435AC_MSG_RESULT($HAVE_ADJOINTBALANCETHICKNESS)
     36
    2537dnl }}}
    2638dnl with-AdjointHoriz{{{
     39
    2740AC_ARG_WITH([AdjointHoriz],
     41
    2842        AS_HELP_STRING([--with-AdjointHoriz = YES], [compile with AdjointHoriz capabilities (default is yes)]),
     43
    2944        [ADJOINTHORIZ=$withval],[ADJOINTHORIZ=yes])
     45
    3046AC_MSG_CHECKING(for AdjointHoriz capability compilation)
    3147
     48
    3249HAVE_ADJOINTHORIZ=no
     50
    3351if test "x$ADJOINTHORIZ" = "xyes"; then
     52
    3453        HAVE_ADJOINTHORIZ=yes
     54
    3555        AC_DEFINE([_HAVE_ADJOINTHORIZ_],[1],[with AdjointHorizcapability])
    36 fi
     56
     57fi
     58
    3759AM_CONDITIONAL([ADJOINTHORIZ], [test x$HAVE_ADJOINTHORIZ = xyes])
     60
    3861AC_MSG_RESULT($HAVE_ADJOINTHORIZ)
     62
    3963dnl }}}
    4064dnl with-Balancethickness{{{
     65
    4166AC_ARG_WITH([Balancethickness],
     67
    4268        AS_HELP_STRING([--with-Balancethickness = YES], [compile with Balancethickness capabilities (default is yes)]),
     69
    4370        [BALANCETHICKNESS=$withval],[BALANCETHICKNESS=yes])
     71
    4472AC_MSG_CHECKING(for Balancethickness capability compilation)
    4573
     74
    4675HAVE_BALANCETHICKNESS=no
     76
    4777if test "x$BALANCETHICKNESS" = "xyes"; then
     78
    4879        HAVE_BALANCETHICKNESS=yes
     80
    4981        AC_DEFINE([_HAVE_BALANCETHICKNESS_],[1],[with Balancethicknesscapability])
    50 fi
     82
     83fi
     84
    5185AM_CONDITIONAL([BALANCETHICKNESS], [test x$HAVE_BALANCETHICKNESS = xyes])
     86
    5287AC_MSG_RESULT($HAVE_BALANCETHICKNESS)
     88
     89dnl }}}
     90dnl with-Balancethickness2{{{
     91
     92AC_ARG_WITH([Balancethickness2],
     93
     94        AS_HELP_STRING([--with-Balancethickness2 = YES], [compile with Balancethickness2 capabilities (default is yes)]),
     95
     96        [BALANCETHICKNESS2=$withval],[BALANCETHICKNESS2=yes])
     97
     98AC_MSG_CHECKING(for Balancethickness2 capability compilation)
     99
     100
     101HAVE_BALANCETHICKNESS2=no
     102
     103if test "x$BALANCETHICKNESS2" = "xyes"; then
     104
     105        HAVE_BALANCETHICKNESS2=yes
     106
     107        AC_DEFINE([_HAVE_BALANCETHICKNESS2_],[1],[with Balancethickness2capability])
     108
     109fi
     110
     111AM_CONDITIONAL([BALANCETHICKNESS2], [test x$HAVE_BALANCETHICKNESS2 = xyes])
     112
     113AC_MSG_RESULT($HAVE_BALANCETHICKNESS2)
     114
    53115dnl }}}
    54116dnl with-BalancethicknessSoft{{{
     117
    55118AC_ARG_WITH([BalancethicknessSoft],
     119
    56120        AS_HELP_STRING([--with-BalancethicknessSoft = YES], [compile with BalancethicknessSoft capabilities (default is yes)]),
     121
    57122        [BALANCETHICKNESSSOFT=$withval],[BALANCETHICKNESSSOFT=yes])
     123
    58124AC_MSG_CHECKING(for BalancethicknessSoft capability compilation)
    59125
     126
    60127HAVE_BALANCETHICKNESSSOFT=no
     128
    61129if test "x$BALANCETHICKNESSSOFT" = "xyes"; then
     130
    62131        HAVE_BALANCETHICKNESSSOFT=yes
     132
    63133        AC_DEFINE([_HAVE_BALANCETHICKNESSSOFT_],[1],[with BalancethicknessSoftcapability])
    64 fi
     134
     135fi
     136
    65137AM_CONDITIONAL([BALANCETHICKNESSSOFT], [test x$HAVE_BALANCETHICKNESSSOFT = xyes])
     138
    66139AC_MSG_RESULT($HAVE_BALANCETHICKNESSSOFT)
     140
    67141dnl }}}
    68142dnl with-Balancevelocity{{{
     143
    69144AC_ARG_WITH([Balancevelocity],
     145
    70146        AS_HELP_STRING([--with-Balancevelocity = YES], [compile with Balancevelocity capabilities (default is yes)]),
     147
    71148        [BALANCEVELOCITY=$withval],[BALANCEVELOCITY=yes])
     149
    72150AC_MSG_CHECKING(for Balancevelocity capability compilation)
    73151
     152
    74153HAVE_BALANCEVELOCITY=no
     154
    75155if test "x$BALANCEVELOCITY" = "xyes"; then
     156
    76157        HAVE_BALANCEVELOCITY=yes
     158
    77159        AC_DEFINE([_HAVE_BALANCEVELOCITY_],[1],[with Balancevelocitycapability])
    78 fi
     160
     161fi
     162
    79163AM_CONDITIONAL([BALANCEVELOCITY], [test x$HAVE_BALANCEVELOCITY = xyes])
     164
    80165AC_MSG_RESULT($HAVE_BALANCEVELOCITY)
     166
    81167dnl }}}
    82168dnl with-L2ProjectionEPL{{{
     169
    83170AC_ARG_WITH([L2ProjectionEPL],
     171
    84172        AS_HELP_STRING([--with-L2ProjectionEPL = YES], [compile with L2ProjectionEPL capabilities (default is yes)]),
     173
    85174        [L2PROJECTIONEPL=$withval],[L2PROJECTIONEPL=yes])
     175
    86176AC_MSG_CHECKING(for L2ProjectionEPL capability compilation)
    87177
     178
    88179HAVE_L2PROJECTIONEPL=no
     180
    89181if test "x$L2PROJECTIONEPL" = "xyes"; then
     182
    90183        HAVE_L2PROJECTIONEPL=yes
     184
    91185        AC_DEFINE([_HAVE_L2PROJECTIONEPL_],[1],[with L2ProjectionEPLcapability])
    92 fi
     186
     187fi
     188
    93189AM_CONDITIONAL([L2PROJECTIONEPL], [test x$HAVE_L2PROJECTIONEPL = xyes])
     190
    94191AC_MSG_RESULT($HAVE_L2PROJECTIONEPL)
     192
    95193dnl }}}
    96194dnl with-L2ProjectionBase{{{
     195
    97196AC_ARG_WITH([L2ProjectionBase],
     197
    98198        AS_HELP_STRING([--with-L2ProjectionBase = YES], [compile with L2ProjectionBase capabilities (default is yes)]),
     199
    99200        [L2PROJECTIONBASE=$withval],[L2PROJECTIONBASE=yes])
     201
    100202AC_MSG_CHECKING(for L2ProjectionBase capability compilation)
    101203
     204
    102205HAVE_L2PROJECTIONBASE=no
     206
    103207if test "x$L2PROJECTIONBASE" = "xyes"; then
     208
    104209        HAVE_L2PROJECTIONBASE=yes
     210
    105211        AC_DEFINE([_HAVE_L2PROJECTIONBASE_],[1],[with L2ProjectionBasecapability])
    106 fi
     212
     213fi
     214
    107215AM_CONDITIONAL([L2PROJECTIONBASE], [test x$HAVE_L2PROJECTIONBASE = xyes])
     216
    108217AC_MSG_RESULT($HAVE_L2PROJECTIONBASE)
     218
    109219dnl }}}
    110220dnl with-DamageEvolution{{{
     221
    111222AC_ARG_WITH([DamageEvolution],
     223
    112224        AS_HELP_STRING([--with-DamageEvolution = YES], [compile with DamageEvolution capabilities (default is yes)]),
     225
    113226        [DAMAGEEVOLUTION=$withval],[DAMAGEEVOLUTION=yes])
     227
    114228AC_MSG_CHECKING(for DamageEvolution capability compilation)
    115229
     230
    116231HAVE_DAMAGEEVOLUTION=no
     232
    117233if test "x$DAMAGEEVOLUTION" = "xyes"; then
     234
    118235        HAVE_DAMAGEEVOLUTION=yes
     236
    119237        AC_DEFINE([_HAVE_DAMAGEEVOLUTION_],[1],[with DamageEvolutioncapability])
    120 fi
     238
     239fi
     240
    121241AM_CONDITIONAL([DAMAGEEVOLUTION], [test x$HAVE_DAMAGEEVOLUTION = xyes])
     242
    122243AC_MSG_RESULT($HAVE_DAMAGEEVOLUTION)
     244
    123245dnl }}}
    124246dnl with-Stressbalance{{{
     247
    125248AC_ARG_WITH([Stressbalance],
     249
    126250        AS_HELP_STRING([--with-Stressbalance = YES], [compile with Stressbalance capabilities (default is yes)]),
     251
    127252        [STRESSBALANCE=$withval],[STRESSBALANCE=yes])
     253
    128254AC_MSG_CHECKING(for Stressbalance capability compilation)
    129255
     256
    130257HAVE_STRESSBALANCE=no
     258
    131259if test "x$STRESSBALANCE" = "xyes"; then
     260
    132261        HAVE_STRESSBALANCE=yes
     262
    133263        AC_DEFINE([_HAVE_STRESSBALANCE_],[1],[with Stressbalancecapability])
    134 fi
     264
     265fi
     266
    135267AM_CONDITIONAL([STRESSBALANCE], [test x$HAVE_STRESSBALANCE = xyes])
     268
    136269AC_MSG_RESULT($HAVE_STRESSBALANCE)
     270
    137271dnl }}}
    138272dnl with-StressbalanceSIA{{{
     273
    139274AC_ARG_WITH([StressbalanceSIA],
     275
    140276        AS_HELP_STRING([--with-StressbalanceSIA = YES], [compile with StressbalanceSIA capabilities (default is yes)]),
     277
    141278        [STRESSBALANCESIA=$withval],[STRESSBALANCESIA=yes])
     279
    142280AC_MSG_CHECKING(for StressbalanceSIA capability compilation)
    143281
     282
    144283HAVE_STRESSBALANCESIA=no
     284
    145285if test "x$STRESSBALANCESIA" = "xyes"; then
     286
    146287        HAVE_STRESSBALANCESIA=yes
     288
    147289        AC_DEFINE([_HAVE_STRESSBALANCESIA_],[1],[with StressbalanceSIAcapability])
    148 fi
     290
     291fi
     292
    149293AM_CONDITIONAL([STRESSBALANCESIA], [test x$HAVE_STRESSBALANCESIA = xyes])
     294
    150295AC_MSG_RESULT($HAVE_STRESSBALANCESIA)
     296
    151297dnl }}}
    152298dnl with-StressbalanceVertical{{{
     299
    153300AC_ARG_WITH([StressbalanceVertical],
     301
    154302        AS_HELP_STRING([--with-StressbalanceVertical = YES], [compile with StressbalanceVertical capabilities (default is yes)]),
     303
    155304        [STRESSBALANCEVERTICAL=$withval],[STRESSBALANCEVERTICAL=yes])
     305
    156306AC_MSG_CHECKING(for StressbalanceVertical capability compilation)
    157307
     308
    158309HAVE_STRESSBALANCEVERTICAL=no
     310
    159311if test "x$STRESSBALANCEVERTICAL" = "xyes"; then
     312
    160313        HAVE_STRESSBALANCEVERTICAL=yes
     314
    161315        AC_DEFINE([_HAVE_STRESSBALANCEVERTICAL_],[1],[with StressbalanceVerticalcapability])
    162 fi
     316
     317fi
     318
    163319AM_CONDITIONAL([STRESSBALANCEVERTICAL], [test x$HAVE_STRESSBALANCEVERTICAL = xyes])
     320
    164321AC_MSG_RESULT($HAVE_STRESSBALANCEVERTICAL)
     322
    165323dnl }}}
    166324dnl with-Enthalpy{{{
     325
    167326AC_ARG_WITH([Enthalpy],
     327
    168328        AS_HELP_STRING([--with-Enthalpy = YES], [compile with Enthalpy capabilities (default is yes)]),
     329
    169330        [ENTHALPY=$withval],[ENTHALPY=yes])
     331
    170332AC_MSG_CHECKING(for Enthalpy capability compilation)
    171333
     334
    172335HAVE_ENTHALPY=no
     336
    173337if test "x$ENTHALPY" = "xyes"; then
     338
    174339        HAVE_ENTHALPY=yes
     340
    175341        AC_DEFINE([_HAVE_ENTHALPY_],[1],[with Enthalpycapability])
    176 fi
     342
     343fi
     344
    177345AM_CONDITIONAL([ENTHALPY], [test x$HAVE_ENTHALPY = xyes])
     346
    178347AC_MSG_RESULT($HAVE_ENTHALPY)
     348
    179349dnl }}}
    180350dnl with-HydrologyShreve{{{
     351
    181352AC_ARG_WITH([HydrologyShreve],
     353
    182354        AS_HELP_STRING([--with-HydrologyShreve = YES], [compile with HydrologyShreve capabilities (default is yes)]),
     355
    183356        [HYDROLOGYSHREVE=$withval],[HYDROLOGYSHREVE=yes])
     357
    184358AC_MSG_CHECKING(for HydrologyShreve capability compilation)
    185359
     360
    186361HAVE_HYDROLOGYSHREVE=no
     362
    187363if test "x$HYDROLOGYSHREVE" = "xyes"; then
     364
    188365        HAVE_HYDROLOGYSHREVE=yes
     366
    189367        AC_DEFINE([_HAVE_HYDROLOGYSHREVE_],[1],[with HydrologyShrevecapability])
    190 fi
     368
     369fi
     370
    191371AM_CONDITIONAL([HYDROLOGYSHREVE], [test x$HAVE_HYDROLOGYSHREVE = xyes])
     372
    192373AC_MSG_RESULT($HAVE_HYDROLOGYSHREVE)
     374
    193375dnl }}}
    194376dnl with-HydrologyDCInefficient{{{
     377
    195378AC_ARG_WITH([HydrologyDCInefficient],
     379
    196380        AS_HELP_STRING([--with-HydrologyDCInefficient = YES], [compile with HydrologyDCInefficient capabilities (default is yes)]),
     381
    197382        [HYDROLOGYDCINEFFICIENT=$withval],[HYDROLOGYDCINEFFICIENT=yes])
     383
    198384AC_MSG_CHECKING(for HydrologyDCInefficient capability compilation)
    199385
     386
    200387HAVE_HYDROLOGYDCINEFFICIENT=no
     388
    201389if test "x$HYDROLOGYDCINEFFICIENT" = "xyes"; then
     390
    202391        HAVE_HYDROLOGYDCINEFFICIENT=yes
     392
    203393        AC_DEFINE([_HAVE_HYDROLOGYDCINEFFICIENT_],[1],[with HydrologyDCInefficientcapability])
    204 fi
     394
     395fi
     396
    205397AM_CONDITIONAL([HYDROLOGYDCINEFFICIENT], [test x$HAVE_HYDROLOGYDCINEFFICIENT = xyes])
     398
    206399AC_MSG_RESULT($HAVE_HYDROLOGYDCINEFFICIENT)
     400
    207401dnl }}}
    208402dnl with-HydrologyDCEfficient{{{
     403
    209404AC_ARG_WITH([HydrologyDCEfficient],
     405
    210406        AS_HELP_STRING([--with-HydrologyDCEfficient = YES], [compile with HydrologyDCEfficient capabilities (default is yes)]),
     407
    211408        [HYDROLOGYDCEFFICIENT=$withval],[HYDROLOGYDCEFFICIENT=yes])
     409
    212410AC_MSG_CHECKING(for HydrologyDCEfficient capability compilation)
    213411
     412
    214413HAVE_HYDROLOGYDCEFFICIENT=no
     414
    215415if test "x$HYDROLOGYDCEFFICIENT" = "xyes"; then
     416
    216417        HAVE_HYDROLOGYDCEFFICIENT=yes
     418
    217419        AC_DEFINE([_HAVE_HYDROLOGYDCEFFICIENT_],[1],[with HydrologyDCEfficientcapability])
    218 fi
     420
     421fi
     422
    219423AM_CONDITIONAL([HYDROLOGYDCEFFICIENT], [test x$HAVE_HYDROLOGYDCEFFICIENT = xyes])
     424
    220425AC_MSG_RESULT($HAVE_HYDROLOGYDCEFFICIENT)
     426
    221427dnl }}}
    222428dnl with-Melting{{{
     429
    223430AC_ARG_WITH([Melting],
     431
    224432        AS_HELP_STRING([--with-Melting = YES], [compile with Melting capabilities (default is yes)]),
     433
    225434        [MELTING=$withval],[MELTING=yes])
     435
    226436AC_MSG_CHECKING(for Melting capability compilation)
    227437
     438
    228439HAVE_MELTING=no
     440
    229441if test "x$MELTING" = "xyes"; then
     442
    230443        HAVE_MELTING=yes
     444
    231445        AC_DEFINE([_HAVE_MELTING_],[1],[with Meltingcapability])
    232 fi
     446
     447fi
     448
    233449AM_CONDITIONAL([MELTING], [test x$HAVE_MELTING = xyes])
     450
    234451AC_MSG_RESULT($HAVE_MELTING)
     452
    235453dnl }}}
    236454dnl with-Masstransport{{{
     455
    237456AC_ARG_WITH([Masstransport],
     457
    238458        AS_HELP_STRING([--with-Masstransport = YES], [compile with Masstransport capabilities (default is yes)]),
     459
    239460        [MASSTRANSPORT=$withval],[MASSTRANSPORT=yes])
     461
    240462AC_MSG_CHECKING(for Masstransport capability compilation)
    241463
     464
    242465HAVE_MASSTRANSPORT=no
     466
    243467if test "x$MASSTRANSPORT" = "xyes"; then
     468
    244469        HAVE_MASSTRANSPORT=yes
     470
    245471        AC_DEFINE([_HAVE_MASSTRANSPORT_],[1],[with Masstransportcapability])
    246 fi
     472
     473fi
     474
    247475AM_CONDITIONAL([MASSTRANSPORT], [test x$HAVE_MASSTRANSPORT = xyes])
     476
    248477AC_MSG_RESULT($HAVE_MASSTRANSPORT)
     478
    249479dnl }}}
    250480dnl with-FreeSurfaceBase{{{
     481
    251482AC_ARG_WITH([FreeSurfaceBase],
     483
    252484        AS_HELP_STRING([--with-FreeSurfaceBase = YES], [compile with FreeSurfaceBase capabilities (default is yes)]),
     485
    253486        [FREESURFACEBASE=$withval],[FREESURFACEBASE=yes])
     487
    254488AC_MSG_CHECKING(for FreeSurfaceBase capability compilation)
    255489
     490
    256491HAVE_FREESURFACEBASE=no
     492
    257493if test "x$FREESURFACEBASE" = "xyes"; then
     494
    258495        HAVE_FREESURFACEBASE=yes
     496
    259497        AC_DEFINE([_HAVE_FREESURFACEBASE_],[1],[with FreeSurfaceBasecapability])
    260 fi
     498
     499fi
     500
    261501AM_CONDITIONAL([FREESURFACEBASE], [test x$HAVE_FREESURFACEBASE = xyes])
     502
    262503AC_MSG_RESULT($HAVE_FREESURFACEBASE)
     504
    263505dnl }}}
    264506dnl with-FreeSurfaceTop{{{
     507
    265508AC_ARG_WITH([FreeSurfaceTop],
     509
    266510        AS_HELP_STRING([--with-FreeSurfaceTop = YES], [compile with FreeSurfaceTop capabilities (default is yes)]),
     511
    267512        [FREESURFACETOP=$withval],[FREESURFACETOP=yes])
     513
    268514AC_MSG_CHECKING(for FreeSurfaceTop capability compilation)
    269515
     516
    270517HAVE_FREESURFACETOP=no
     518
    271519if test "x$FREESURFACETOP" = "xyes"; then
     520
    272521        HAVE_FREESURFACETOP=yes
     522
    273523        AC_DEFINE([_HAVE_FREESURFACETOP_],[1],[with FreeSurfaceTopcapability])
    274 fi
     524
     525fi
     526
    275527AM_CONDITIONAL([FREESURFACETOP], [test x$HAVE_FREESURFACETOP = xyes])
     528
    276529AC_MSG_RESULT($HAVE_FREESURFACETOP)
     530
    277531dnl }}}
    278532dnl with-ExtrudeFromBase{{{
     533
    279534AC_ARG_WITH([ExtrudeFromBase],
     535
    280536        AS_HELP_STRING([--with-ExtrudeFromBase = YES], [compile with ExtrudeFromBase capabilities (default is yes)]),
     537
    281538        [EXTRUDEFROMBASE=$withval],[EXTRUDEFROMBASE=yes])
     539
    282540AC_MSG_CHECKING(for ExtrudeFromBase capability compilation)
    283541
     542
    284543HAVE_EXTRUDEFROMBASE=no
     544
    285545if test "x$EXTRUDEFROMBASE" = "xyes"; then
     546
    286547        HAVE_EXTRUDEFROMBASE=yes
     548
    287549        AC_DEFINE([_HAVE_EXTRUDEFROMBASE_],[1],[with ExtrudeFromBasecapability])
    288 fi
     550
     551fi
     552
    289553AM_CONDITIONAL([EXTRUDEFROMBASE], [test x$HAVE_EXTRUDEFROMBASE = xyes])
     554
    290555AC_MSG_RESULT($HAVE_EXTRUDEFROMBASE)
     556
    291557dnl }}}
    292558dnl with-ExtrudeFromTop{{{
     559
    293560AC_ARG_WITH([ExtrudeFromTop],
     561
    294562        AS_HELP_STRING([--with-ExtrudeFromTop = YES], [compile with ExtrudeFromTop capabilities (default is yes)]),
     563
    295564        [EXTRUDEFROMTOP=$withval],[EXTRUDEFROMTOP=yes])
     565
    296566AC_MSG_CHECKING(for ExtrudeFromTop capability compilation)
    297567
     568
    298569HAVE_EXTRUDEFROMTOP=no
     570
    299571if test "x$EXTRUDEFROMTOP" = "xyes"; then
     572
    300573        HAVE_EXTRUDEFROMTOP=yes
     574
    301575        AC_DEFINE([_HAVE_EXTRUDEFROMTOP_],[1],[with ExtrudeFromTopcapability])
    302 fi
     576
     577fi
     578
    303579AM_CONDITIONAL([EXTRUDEFROMTOP], [test x$HAVE_EXTRUDEFROMTOP = xyes])
     580
    304581AC_MSG_RESULT($HAVE_EXTRUDEFROMTOP)
     582
    305583dnl }}}
    306584dnl with-DepthAverage{{{
     585
    307586AC_ARG_WITH([DepthAverage],
     587
    308588        AS_HELP_STRING([--with-DepthAverage = YES], [compile with DepthAverage capabilities (default is yes)]),
     589
    309590        [DEPTHAVERAGE=$withval],[DEPTHAVERAGE=yes])
     591
    310592AC_MSG_CHECKING(for DepthAverage capability compilation)
    311593
     594
    312595HAVE_DEPTHAVERAGE=no
     596
    313597if test "x$DEPTHAVERAGE" = "xyes"; then
     598
    314599        HAVE_DEPTHAVERAGE=yes
     600
    315601        AC_DEFINE([_HAVE_DEPTHAVERAGE_],[1],[with DepthAveragecapability])
    316 fi
     602
     603fi
     604
    317605AM_CONDITIONAL([DEPTHAVERAGE], [test x$HAVE_DEPTHAVERAGE = xyes])
     606
    318607AC_MSG_RESULT($HAVE_DEPTHAVERAGE)
     608
    319609dnl }}}
    320610dnl with-SmoothedSurfaceSlopeX{{{
     611
    321612AC_ARG_WITH([SmoothedSurfaceSlopeX],
     613
    322614        AS_HELP_STRING([--with-SmoothedSurfaceSlopeX = YES], [compile with SmoothedSurfaceSlopeX capabilities (default is yes)]),
     615
    323616        [SMOOTHEDSURFACESLOPEX=$withval],[SMOOTHEDSURFACESLOPEX=yes])
     617
    324618AC_MSG_CHECKING(for SmoothedSurfaceSlopeX capability compilation)
    325619
     620
    326621HAVE_SMOOTHEDSURFACESLOPEX=no
     622
    327623if test "x$SMOOTHEDSURFACESLOPEX" = "xyes"; then
     624
    328625        HAVE_SMOOTHEDSURFACESLOPEX=yes
     626
    329627        AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEX_],[1],[with SmoothedSurfaceSlopeXcapability])
    330 fi
     628
     629fi
     630
    331631AM_CONDITIONAL([SMOOTHEDSURFACESLOPEX], [test x$HAVE_SMOOTHEDSURFACESLOPEX = xyes])
     632
    332633AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEX)
     634
    333635dnl }}}
    334636dnl with-SmoothedSurfaceSlopeY{{{
     637
    335638AC_ARG_WITH([SmoothedSurfaceSlopeY],
     639
    336640        AS_HELP_STRING([--with-SmoothedSurfaceSlopeY = YES], [compile with SmoothedSurfaceSlopeY capabilities (default is yes)]),
     641
    337642        [SMOOTHEDSURFACESLOPEY=$withval],[SMOOTHEDSURFACESLOPEY=yes])
     643
    338644AC_MSG_CHECKING(for SmoothedSurfaceSlopeY capability compilation)
    339645
     646
    340647HAVE_SMOOTHEDSURFACESLOPEY=no
     648
    341649if test "x$SMOOTHEDSURFACESLOPEY" = "xyes"; then
     650
    342651        HAVE_SMOOTHEDSURFACESLOPEY=yes
     652
    343653        AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEY_],[1],[with SmoothedSurfaceSlopeYcapability])
    344 fi
     654
     655fi
     656
    345657AM_CONDITIONAL([SMOOTHEDSURFACESLOPEY], [test x$HAVE_SMOOTHEDSURFACESLOPEY = xyes])
     658
    346659AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEY)
     660
    347661dnl }}}
    348662dnl with-Thermal{{{
     663
    349664AC_ARG_WITH([Thermal],
     665
    350666        AS_HELP_STRING([--with-Thermal = YES], [compile with Thermal capabilities (default is yes)]),
     667
    351668        [THERMAL=$withval],[THERMAL=yes])
     669
    352670AC_MSG_CHECKING(for Thermal capability compilation)
    353671
     672
    354673HAVE_THERMAL=no
     674
    355675if test "x$THERMAL" = "xyes"; then
     676
    356677        HAVE_THERMAL=yes
     678
    357679        AC_DEFINE([_HAVE_THERMAL_],[1],[with Thermalcapability])
    358 fi
     680
     681fi
     682
    359683AM_CONDITIONAL([THERMAL], [test x$HAVE_THERMAL = xyes])
     684
    360685AC_MSG_RESULT($HAVE_THERMAL)
     686
    361687dnl }}}
    362688dnl with-Gia{{{
     689
    363690AC_ARG_WITH([Gia],
     691
    364692        AS_HELP_STRING([--with-Gia = YES], [compile with Gia capabilities (default is yes)]),
     693
    365694        [GIA=$withval],[GIA=yes])
     695
    366696AC_MSG_CHECKING(for Gia capability compilation)
    367697
     698
    368699HAVE_GIA=no
     700
    369701if test "x$GIA" = "xyes"; then
     702
    370703        HAVE_GIA=yes
     704
    371705        AC_DEFINE([_HAVE_GIA_],[1],[with Giacapability])
    372 fi
     706
     707fi
     708
    373709AM_CONDITIONAL([GIA], [test x$HAVE_GIA = xyes])
     710
    374711AC_MSG_RESULT($HAVE_GIA)
     712
    375713dnl }}}
    376714dnl with-Meshdeformation{{{
     715
    377716AC_ARG_WITH([Meshdeformation],
     717
    378718        AS_HELP_STRING([--with-Meshdeformation = YES], [compile with Meshdeformation capabilities (default is yes)]),
     719
    379720        [MESHDEFORMATION=$withval],[MESHDEFORMATION=yes])
     721
    380722AC_MSG_CHECKING(for Meshdeformation capability compilation)
    381723
     724
    382725HAVE_MESHDEFORMATION=no
     726
    383727if test "x$MESHDEFORMATION" = "xyes"; then
     728
    384729        HAVE_MESHDEFORMATION=yes
     730
    385731        AC_DEFINE([_HAVE_MESHDEFORMATION_],[1],[with Meshdeformationcapability])
    386 fi
     732
     733fi
     734
    387735AM_CONDITIONAL([MESHDEFORMATION], [test x$HAVE_MESHDEFORMATION = xyes])
     736
    388737AC_MSG_RESULT($HAVE_MESHDEFORMATION)
     738
    389739dnl }}}
    390740dnl with-Levelset{{{
     741
    391742AC_ARG_WITH([Levelset],
     743
    392744        AS_HELP_STRING([--with-Levelset = YES], [compile with Levelset capabilities (default is yes)]),
     745
    393746        [LEVELSET=$withval],[LEVELSET=yes])
     747
    394748AC_MSG_CHECKING(for Levelset capability compilation)
    395749
     750
    396751HAVE_LEVELSET=no
     752
    397753if test "x$LEVELSET" = "xyes"; then
     754
    398755        HAVE_LEVELSET=yes
     756
    399757        AC_DEFINE([_HAVE_LEVELSET_],[1],[with Levelsetcapability])
    400 fi
     758
     759fi
     760
    401761AM_CONDITIONAL([LEVELSET], [test x$HAVE_LEVELSET = xyes])
     762
    402763AC_MSG_RESULT($HAVE_LEVELSET)
     764
    403765dnl }}}
    404766dnl with-Extrapolation{{{
     767
    405768AC_ARG_WITH([Extrapolation],
     769
    406770        AS_HELP_STRING([--with-Extrapolation = YES], [compile with Extrapolation capabilities (default is yes)]),
     771
    407772        [EXTRAPOLATION=$withval],[EXTRAPOLATION=yes])
     773
    408774AC_MSG_CHECKING(for Extrapolation capability compilation)
    409775
     776
    410777HAVE_EXTRAPOLATION=no
     778
    411779if test "x$EXTRAPOLATION" = "xyes"; then
     780
    412781        HAVE_EXTRAPOLATION=yes
     782
    413783        AC_DEFINE([_HAVE_EXTRAPOLATION_],[1],[with Extrapolationcapability])
    414 fi
     784
     785fi
     786
    415787AM_CONDITIONAL([EXTRAPOLATION], [test x$HAVE_EXTRAPOLATION = xyes])
     788
    416789AC_MSG_RESULT($HAVE_EXTRAPOLATION)
     790
    417791dnl }}}
    418792dnl with-LsfReinitialization{{{
     793
    419794AC_ARG_WITH([LsfReinitialization],
     795
    420796        AS_HELP_STRING([--with-LsfReinitialization = YES], [compile with LsfReinitialization capabilities (default is yes)]),
     797
    421798        [LSFREINITIALIZATION=$withval],[LSFREINITIALIZATION=yes])
     799
    422800AC_MSG_CHECKING(for LsfReinitialization capability compilation)
    423801
     802
    424803HAVE_LSFREINITIALIZATION=no
     804
    425805if test "x$LSFREINITIALIZATION" = "xyes"; then
     806
    426807        HAVE_LSFREINITIALIZATION=yes
     808
    427809        AC_DEFINE([_HAVE_LSFREINITIALIZATION_],[1],[with LsfReinitializationcapability])
    428 fi
     810
     811fi
     812
    429813AM_CONDITIONAL([LSFREINITIALIZATION], [test x$HAVE_LSFREINITIALIZATION = xyes])
     814
    430815AC_MSG_RESULT($HAVE_LSFREINITIALIZATION)
     816
    431817dnl }}}
    432818
Note: See TracChangeset for help on using the changeset viewer.