Changeset 17776
- Timestamp:
- 04/18/14 14:36:29 (11 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/m4/analyses.m4
r17775 r17776 1 2 dnl WARNING: DO NOT MODIFY THIS FILE 3 dnl this file has been automatically generated by Synchronize.sh 4 dnl Please read README for more information 5 1 6 # AX_ANALYSES_SELECTION 2 7 # ----------------- 3 8 # Check for analyses compilation 4 9 AC_DEFUN([AX_ANALYSES_SELECTION], 5 [ 6 dnl with-AdjointBalancethickness{{{ 7 AC_ARG_WITH([AdjointBalancethickness], 8 AS_HELP_STRING([--with-AdjointBalancethickness = YES], [compile with AdjointBalancethickness capabilities (default is yes)]), 9 [ADJOINTBALANCETHICKNESS=$withval],[ADJOINTBALANCETHICKNESS=yes]) 10 AC_MSG_CHECKING(for AdjointBalancethickness capability compilation) 11 12 HAVE_ADJOINTBALANCETHICKNESS=no 13 if test "x$ADJOINTBALANCETHICKNESS" = "xyes"; then 14 HAVE_ADJOINTBALANCETHICKNESS=yes 15 AC_DEFINE([_HAVE_ADJOINTBALANCETHICKNESS_],[1],[with AdjointBalancethickness capability]) 16 fi 17 AM_CONDITIONAL([ADJOINTBALANCETHICKNESS], [test x$HAVE_ADJOINTBALANCETHICKNESS = xyes]) 18 AC_MSG_RESULT($HAVE_ADJOINTBALANCETHICKNESS) 19 dnl }}} 20 dnl with-AdjointHoriz{{{ 21 AC_ARG_WITH([AdjointHoriz], 22 AS_HELP_STRING([--with-AdjointHoriz = YES], [compile with AdjointHoriz capabilities (default is yes)]), 23 [ADJOINTHORIZ=$withval],[ADJOINTHORIZ=yes]) 24 AC_MSG_CHECKING(for AdjointHoriz capability compilation) 25 26 HAVE_ADJOINTHORIZ=no 27 if test "x$ADJOINTHORIZ" = "xyes"; then 28 HAVE_ADJOINTHORIZ=yes 29 AC_DEFINE([_HAVE_ADJOINTHORIZ_],[1],[with AdjointHoriz capability]) 30 fi 31 AM_CONDITIONAL([ADJOINTHORIZ], [test x$HAVE_ADJOINTHORIZ = xyes]) 32 AC_MSG_RESULT($HAVE_ADJOINTHORIZ) 33 dnl }}} 34 dnl with-Balancethickness{{{ 35 AC_ARG_WITH([Balancethickness], 36 AS_HELP_STRING([--with-Balancethickness = YES], [compile with Balancethickness capabilities (default is yes)]), 37 [BALANCETHICKNESS=$withval],[BALANCETHICKNESS=yes]) 38 AC_MSG_CHECKING(for Balancethickness capability compilation) 39 40 HAVE_BALANCETHICKNESS=no 41 if test "x$BALANCETHICKNESS" = "xyes"; then 42 HAVE_BALANCETHICKNESS=yes 43 AC_DEFINE([_HAVE_BALANCETHICKNESS_],[1],[with Balancethickness capability]) 44 fi 45 AM_CONDITIONAL([BALANCETHICKNESS], [test x$HAVE_BALANCETHICKNESS = xyes]) 46 AC_MSG_RESULT($HAVE_BALANCETHICKNESS) 47 dnl }}} 48 dnl with-BalancethicknessSoft{{{ 49 AC_ARG_WITH([BalancethicknessSoft], 50 AS_HELP_STRING([--with-BalancethicknessSoft = YES], [compile with BalancethicknessSoft capabilities (default is yes)]), 51 [BALANCETHICKNESSSOFT=$withval],[BALANCETHICKNESSSOFT=yes]) 52 AC_MSG_CHECKING(for BalancethicknessSoft capability compilation) 53 54 HAVE_BALANCETHICKNESSSOFT=no 55 if test "x$BALANCETHICKNESSSOFT" = "xyes"; then 56 HAVE_BALANCETHICKNESSSOFT=yes 57 AC_DEFINE([_HAVE_BALANCETHICKNESSSOFT_],[1],[with BalancethicknessSoft capability]) 58 fi 59 AM_CONDITIONAL([BALANCETHICKNESSSOFT], [test x$HAVE_BALANCETHICKNESSSOFT = xyes]) 60 AC_MSG_RESULT($HAVE_BALANCETHICKNESSSOFT) 61 dnl }}} 62 dnl with-Balancevelocity{{{ 63 AC_ARG_WITH([Balancevelocity], 64 AS_HELP_STRING([--with-Balancevelocity = YES], [compile with Balancevelocity capabilities (default is yes)]), 65 [BALANCEVELOCITY=$withval],[BALANCEVELOCITY=yes]) 66 AC_MSG_CHECKING(for Balancevelocity capability compilation) 67 68 HAVE_BALANCEVELOCITY=no 69 if test "x$BALANCEVELOCITY" = "xyes"; then 70 HAVE_BALANCEVELOCITY=yes 71 AC_DEFINE([_HAVE_BALANCEVELOCITY_],[1],[with Balancevelocity capability]) 72 fi 73 AM_CONDITIONAL([BALANCEVELOCITY], [test x$HAVE_BALANCEVELOCITY = xyes]) 74 AC_MSG_RESULT($HAVE_BALANCEVELOCITY) 75 dnl }}} 76 dnl with-L2ProjectionEPL{{{ 77 AC_ARG_WITH([L2ProjectionEPL], 78 AS_HELP_STRING([--with-L2ProjectionEPL = YES], [compile with L2ProjectionEPL capabilities (default is yes)]), 79 [L2PROJECTIONEPL=$withval],[L2PROJECTIONEPL=yes]) 80 AC_MSG_CHECKING(for L2ProjectionEPL capability compilation) 81 82 HAVE_L2PROJECTIONEPL=no 83 if test "x$L2PROJECTIONEPL" = "xyes"; then 84 HAVE_L2PROJECTIONEPL=yes 85 AC_DEFINE([_HAVE_L2PROJECTIONEPL_],[1],[with L2ProjectionEPL capability]) 86 fi 87 AM_CONDITIONAL([L2PROJECTIONEPL], [test x$HAVE_L2PROJECTIONEPL = xyes]) 88 AC_MSG_RESULT($HAVE_L2PROJECTIONEPL) 89 dnl }}} 90 dnl with-L2ProjectionBase{{{ 91 AC_ARG_WITH([L2ProjectionBase], 92 AS_HELP_STRING([--with-L2ProjectionBase = YES], [compile with L2ProjectionBase capabilities (default is yes)]), 93 [L2PROJECTIONBASE=$withval],[L2PROJECTIONBASE=yes]) 94 AC_MSG_CHECKING(for L2ProjectionBase capability compilation) 95 96 HAVE_L2PROJECTIONBASE=no 97 if test "x$L2PROJECTIONBASE" = "xyes"; then 98 HAVE_L2PROJECTIONBASE=yes 99 AC_DEFINE([_HAVE_L2PROJECTIONBASE_],[1],[with L2ProjectionBase capability]) 100 fi 101 AM_CONDITIONAL([L2PROJECTIONBASE], [test x$HAVE_L2PROJECTIONBASE = xyes]) 102 AC_MSG_RESULT($HAVE_L2PROJECTIONBASE) 103 dnl }}} 104 dnl with-DamageEvolution{{{ 105 AC_ARG_WITH([DamageEvolution], 106 AS_HELP_STRING([--with-DamageEvolution = YES], [compile with DamageEvolution capabilities (default is yes)]), 107 [DAMAGEEVOLUTION=$withval],[DAMAGEEVOLUTION=yes]) 108 AC_MSG_CHECKING(for DamageEvolution capability compilation) 109 110 HAVE_DAMAGEEVOLUTION=no 111 if test "x$DAMAGEEVOLUTION" = "xyes"; then 112 HAVE_DAMAGEEVOLUTION=yes 113 AC_DEFINE([_HAVE_DAMAGEEVOLUTION_],[1],[with DamageEvolution capability]) 114 fi 115 AM_CONDITIONAL([DAMAGEEVOLUTION], [test x$HAVE_DAMAGEEVOLUTION = xyes]) 116 AC_MSG_RESULT($HAVE_DAMAGEEVOLUTION) 117 dnl }}} 118 dnl with-DepthAverage{{{ 119 AC_ARG_WITH([DepthAverage], 120 AS_HELP_STRING([--with-DepthAverage = YES], [compile with DepthAverage capabilities (default is yes)]), 121 [DEPTHAVERAGE=$withval],[DEPTHAVERAGE=yes]) 122 AC_MSG_CHECKING(for DepthAverage capability compilation) 123 124 HAVE_DEPTHAVERAGE=no 125 if test "x$DEPTHAVERAGE" = "xyes"; then 126 HAVE_DEPTHAVERAGE=yes 127 AC_DEFINE([_HAVE_DEPTHAVERAGE_],[1],[with DepthAverage capability]) 128 fi 129 AM_CONDITIONAL([DEPTHAVERAGE], [test x$HAVE_DEPTHAVERAGE = xyes]) 130 AC_MSG_RESULT($HAVE_DEPTHAVERAGE) 131 dnl }}} 132 dnl with-stressbalance{{{ 133 AC_ARG_WITH([stressbalance], 134 AS_HELP_STRING([--with-stressbalance = YES], [compile with stressbalance capabilities (default is yes)]), 135 [STRESSBALANCE=$withval],[STRESSBALANCE=yes]) 136 AC_MSG_CHECKING(for stressbalance capability compilation) 137 138 HAVE_STRESSBALANCE=no 139 if test "x$STRESSBALANCE" = "xyes"; then 140 HAVE_STRESSBALANCE=yes 141 AC_DEFINE([_HAVE_STRESSBALANCE_],[1],[with stressbalance capability]) 142 fi 143 AM_CONDITIONAL([STRESSBALANCE], [test x$HAVE_STRESSBALANCE = xyes]) 144 AC_MSG_RESULT($HAVE_STRESSBALANCE) 145 dnl }}} 146 dnl with-stressbalanceSIA{{{ 147 AC_ARG_WITH([stressbalanceSIA], 148 AS_HELP_STRING([--with-stressbalanceSIA = YES], [compile with stressbalanceSIA capabilities (default is yes)]), 149 [STRESSBALANCESIA=$withval],[STRESSBALANCESIA=yes]) 150 AC_MSG_CHECKING(for stressbalanceSIA capability compilation) 151 152 HAVE_STRESSBALANCESIA=no 153 if test "x$STRESSBALANCESIA" = "xyes"; then 154 HAVE_STRESSBALANCESIA=yes 155 AC_DEFINE([_HAVE_STRESSBALANCESIA_],[1],[with stressbalanceSIA capability]) 156 fi 157 AM_CONDITIONAL([STRESSBALANCESIA], [test x$HAVE_STRESSBALANCESIA = xyes]) 158 AC_MSG_RESULT($HAVE_STRESSBALANCESIA) 159 dnl }}} 160 dnl with-StressbalanceVertical{{{ 161 AC_ARG_WITH([StressbalanceVertical], 162 AS_HELP_STRING([--with-StressbalanceVertical = YES], [compile with StressbalanceVertical capabilities (default is yes)]), 163 [STRESSBALANCEVERTICAL=$withval],[STRESSBALANCEVERTICAL=yes]) 164 AC_MSG_CHECKING(for StressbalanceVertical capability compilation) 165 166 HAVE_STRESSBALANCEVERTICAL=no 167 if test "x$STRESSBALANCEVERTICAL" = "xyes"; then 168 HAVE_STRESSBALANCEVERTICAL=yes 169 AC_DEFINE([_HAVE_STRESSBALANCEVERTICAL_],[1],[with StressbalanceVertical capability]) 170 fi 171 AM_CONDITIONAL([STRESSBALANCEVERTICAL], [test x$HAVE_STRESSBALANCEVERTICAL = xyes]) 172 AC_MSG_RESULT($HAVE_STRESSBALANCEVERTICAL) 173 dnl }}} 174 dnl with-Enthalpy{{{ 175 AC_ARG_WITH([Enthalpy], 176 AS_HELP_STRING([--with-Enthalpy = YES], [compile with Enthalpy capabilities (default is yes)]), 177 [ENTHALPY=$withval],[ENTHALPY=yes]) 178 AC_MSG_CHECKING(for Enthalpy capability compilation) 179 180 HAVE_ENTHALPY=no 181 if test "x$ENTHALPY" = "xyes"; then 182 HAVE_ENTHALPY=yes 183 AC_DEFINE([_HAVE_ENTHALPY_],[1],[with Enthalpy capability]) 184 fi 185 AM_CONDITIONAL([ENTHALPY], [test x$HAVE_ENTHALPY = xyes]) 186 AC_MSG_RESULT($HAVE_ENTHALPY) 187 dnl }}} 188 dnl with-HydrologyShreve{{{ 189 AC_ARG_WITH([HydrologyShreve], 190 AS_HELP_STRING([--with-HydrologyShreve = YES], [compile with HydrologyShreve capabilities (default is yes)]), 191 [HYDROLOGYSHREVE=$withval],[HYDROLOGYSHREVE=yes]) 192 AC_MSG_CHECKING(for HydrologyShreve capability compilation) 193 194 HAVE_HYDROLOGYSHREVE=no 195 if test "x$HYDROLOGYSHREVE" = "xyes"; then 196 HAVE_HYDROLOGYSHREVE=yes 197 AC_DEFINE([_HAVE_HYDROLOGYSHREVE_],[1],[with HydrologyShreve capability]) 198 fi 199 AM_CONDITIONAL([HYDROLOGYSHREVE], [test x$HAVE_HYDROLOGYSHREVE = xyes]) 200 AC_MSG_RESULT($HAVE_HYDROLOGYSHREVE) 201 dnl }}} 202 dnl with-HydrologyDCInefficient{{{ 203 AC_ARG_WITH([HydrologyDCInefficient], 204 AS_HELP_STRING([--with-HydrologyDCInefficient = YES], [compile with HydrologyDCInefficient capabilities (default is yes)]), 205 [HYDROLOGYDCINEFFICIENT=$withval],[HYDROLOGYDCINEFFICIENT=yes]) 206 AC_MSG_CHECKING(for HydrologyDCInefficient capability compilation) 207 208 HAVE_HYDROLOGYDCINEFFICIENT=no 209 if test "x$HYDROLOGYDCINEFFICIENT" = "xyes"; then 210 HAVE_HYDROLOGYDCINEFFICIENT=yes 211 AC_DEFINE([_HAVE_HYDROLOGYDCINEFFICIENT_],[1],[with HydrologyDCInefficient capability]) 212 fi 213 AM_CONDITIONAL([HYDROLOGYDCINEFFICIENT], [test x$HAVE_HYDROLOGYDCINEFFICIENT = xyes]) 214 AC_MSG_RESULT($HAVE_HYDROLOGYDCINEFFICIENT) 215 dnl }}} 216 dnl with-HydrologyDCEfficient{{{ 217 AC_ARG_WITH([HydrologyDCEfficient], 218 AS_HELP_STRING([--with-HydrologyDCEfficient = YES], [compile with HydrologyDCEfficient capabilities (default is yes)]), 219 [HYDROLOGYDCEFFICIENT=$withval],[HYDROLOGYDCEFFICIENT=yes]) 220 AC_MSG_CHECKING(for HydrologyDCEfficient capability compilation) 221 222 HAVE_HYDROLOGYDCEFFICIENT=no 223 if test "x$HYDROLOGYDCEFFICIENT" = "xyes"; then 224 HAVE_HYDROLOGYDCEFFICIENT=yes 225 AC_DEFINE([_HAVE_HYDROLOGYDCEFFICIENT_],[1],[with HydrologyDCEfficient capability]) 226 fi 227 AM_CONDITIONAL([HYDROLOGYDCEFFICIENT], [test x$HAVE_HYDROLOGYDCEFFICIENT = xyes]) 228 AC_MSG_RESULT($HAVE_HYDROLOGYDCEFFICIENT) 229 dnl }}} 230 dnl with-Melting{{{ 231 AC_ARG_WITH([Melting], 232 AS_HELP_STRING([--with-Melting = YES], [compile with Melting capabilities (default is yes)]), 233 [MELTING=$withval],[MELTING=yes]) 234 AC_MSG_CHECKING(for Melting capability compilation) 235 236 HAVE_MELTING=no 237 if test "x$MELTING" = "xyes"; then 238 HAVE_MELTING=yes 239 AC_DEFINE([_HAVE_MELTING_],[1],[with Melting capability]) 240 fi 241 AM_CONDITIONAL([MELTING], [test x$HAVE_MELTING = xyes]) 242 AC_MSG_RESULT($HAVE_MELTING) 243 dnl }}} 244 dnl with-Masstransport{{{ 245 AC_ARG_WITH([Masstransport], 246 AS_HELP_STRING([--with-Masstransport = YES], [compile with Masstransport capabilities (default is yes)]), 247 [MASSTRANSPORT=$withval],[MASSTRANSPORT=yes]) 248 AC_MSG_CHECKING(for Masstransport capability compilation) 249 250 HAVE_MASSTRANSPORT=no 251 if test "x$MASSTRANSPORT" = "xyes"; then 252 HAVE_MASSTRANSPORT=yes 253 AC_DEFINE([_HAVE_MASSTRANSPORT_],[1],[with Masstransport capability]) 254 fi 255 AM_CONDITIONAL([MASSTRANSPORT], [test x$HAVE_MASSTRANSPORT = xyes]) 256 AC_MSG_RESULT($HAVE_MASSTRANSPORT) 257 dnl }}} 258 dnl with-FreeSurfaceBase{{{ 259 AC_ARG_WITH([FreeSurfaceBase], 260 AS_HELP_STRING([--with-FreeSurfaceBase = YES], [compile with FreeSurfaceBase capabilities (default is yes)]), 261 [FREESURFACEBASE=$withval],[FREESURFACEBASE=yes]) 262 AC_MSG_CHECKING(for FreeSurfaceBase capability compilation) 263 264 HAVE_FREESURFACEBASE=no 265 if test "x$FREESURFACEBASE" = "xyes"; then 266 HAVE_FREESURFACEBASE=yes 267 AC_DEFINE([_HAVE_FREESURFACEBASE_],[1],[with FreeSurfaceBase capability]) 268 fi 269 AM_CONDITIONAL([FREESURFACEBASE], [test x$HAVE_FREESURFACEBASE = xyes]) 270 AC_MSG_RESULT($HAVE_FREESURFACEBASE) 271 dnl }}} 272 dnl with-FreeSurfaceTop{{{ 273 AC_ARG_WITH([FreeSurfaceTop], 274 AS_HELP_STRING([--with-FreeSurfaceTop = YES], [compile with FreeSurfaceTop capabilities (default is yes)]), 275 [FREESURFACETOP=$withval],[FREESURFACETOP=yes]) 276 AC_MSG_CHECKING(for FreeSurfaceTop capability compilation) 277 278 HAVE_FREESURFACETOP=no 279 if test "x$FREESURFACETOP" = "xyes"; then 280 HAVE_FREESURFACETOP=yes 281 AC_DEFINE([_HAVE_FREESURFACETOP_],[1],[with FreeSurfaceTop capability]) 282 fi 283 AM_CONDITIONAL([FREESURFACETOP], [test x$HAVE_FREESURFACETOP = xyes]) 284 AC_MSG_RESULT($HAVE_FREESURFACETOP) 285 dnl }}} 286 dnl with-ExtrudeFromBase{{{ 287 AC_ARG_WITH([ExtrudeFromBase], 288 AS_HELP_STRING([--with-ExtrudeFromBase = YES], [compile with ExtrudeFromBase capabilities (default is yes)]), 289 [EXTRUDEFROMBASE=$withval],[EXTRUDEFROMBASE=yes]) 290 AC_MSG_CHECKING(for ExtrudeFromBase capability compilation) 291 292 HAVE_EXTRUDEFROMBASE=no 293 if test "x$EXTRUDEFROMBASE" = "xyes"; then 294 HAVE_EXTRUDEFROMBASE=yes 295 AC_DEFINE([_HAVE_EXTRUDEFROMBASE_],[1],[with ExtrudeFromBase capability]) 296 fi 297 AM_CONDITIONAL([EXTRUDEFROMBASE], [test x$HAVE_EXTRUDEFROMBASE = xyes]) 298 AC_MSG_RESULT($HAVE_EXTRUDEFROMBASE) 299 dnl }}} 300 dnl with-ExtrudeFromTop{{{ 301 AC_ARG_WITH([ExtrudeFromTop], 302 AS_HELP_STRING([--with-ExtrudeFromTop = YES], [compile with ExtrudeFromTop capabilities (default is yes)]), 303 [EXTRUDEFROMTOP=$withval],[EXTRUDEFROMTOP=yes]) 304 AC_MSG_CHECKING(for ExtrudeFromTop capability compilation) 305 306 HAVE_EXTRUDEFROMTOP=no 307 if test "x$EXTRUDEFROMTOP" = "xyes"; then 308 HAVE_EXTRUDEFROMTOP=yes 309 AC_DEFINE([_HAVE_EXTRUDEFROMTOP_],[1],[with ExtrudeFromTop capability]) 310 fi 311 AM_CONDITIONAL([EXTRUDEFROMTOP], [test x$HAVE_EXTRUDEFROMTOP = xyes]) 312 AC_MSG_RESULT($HAVE_EXTRUDEFROMTOP) 313 dnl }}} 314 dnl with-Thermal{{{ 315 AC_ARG_WITH([Thermal], 316 AS_HELP_STRING([--with-Thermal = YES], [compile with Thermal capabilities (default is yes)]), 317 [THERMAL=$withval],[THERMAL=yes]) 318 AC_MSG_CHECKING(for Thermal capability compilation) 319 320 HAVE_THERMAL=no 321 if test "x$THERMAL" = "xyes"; then 322 HAVE_THERMAL=yes 323 AC_DEFINE([_HAVE_THERMAL_],[1],[with Thermal capability]) 324 fi 325 AM_CONDITIONAL([THERMAL], [test x$HAVE_THERMAL = xyes]) 326 AC_MSG_RESULT($HAVE_THERMAL) 327 dnl }}} 328 dnl with-SmoothedSurfaceSlopeX{{{ 329 AC_ARG_WITH([SmoothedSurfaceSlopeX], 330 AS_HELP_STRING([--with-SmoothedSurfaceSlopeX = YES], [compile with SmoothedSurfaceSlopeX capabilities (default is yes)]), 331 [SMOOTHEDSURFACESLOPEX=$withval],[SMOOTHEDSURFACESLOPEX=yes]) 332 AC_MSG_CHECKING(for SmoothedSurfaceSlopeX capability compilation) 333 334 HAVE_SMOOTHEDSURFACESLOPEX=no 335 if test "x$SMOOTHEDSURFACESLOPEX" = "xyes"; then 336 HAVE_SMOOTHEDSURFACESLOPEX=yes 337 AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEX_],[1],[with SmoothedSurfaceSlopeX capability]) 338 fi 339 AM_CONDITIONAL([SMOOTHEDSURFACESLOPEX], [test x$HAVE_SMOOTHEDSURFACESLOPEX = xyes]) 340 AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEX) 341 dnl }}} 342 dnl with-SmoothedSurfaceSlopeY{{{ 343 AC_ARG_WITH([SmoothedSurfaceSlopeY], 344 AS_HELP_STRING([--with-SmoothedSurfaceSlopeY = YES], [compile with SmoothedSurfaceSlopeY capabilities (default is yes)]), 345 [SMOOTHEDSURFACESLOPEY=$withval],[SMOOTHEDSURFACESLOPEY=yes]) 346 AC_MSG_CHECKING(for SmoothedSurfaceSlopeY capability compilation) 347 348 HAVE_SMOOTHEDSURFACESLOPEY=no 349 if test "x$SMOOTHEDSURFACESLOPEY" = "xyes"; then 350 HAVE_SMOOTHEDSURFACESLOPEY=yes 351 AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEY_],[1],[with SmoothedSurfaceSlopeY capability]) 352 fi 353 AM_CONDITIONAL([SMOOTHEDSURFACESLOPEY], [test x$HAVE_SMOOTHEDSURFACESLOPEY = xyes]) 354 AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEY) 355 dnl }}} 356 dnl with-Meshdeformation{{{ 357 AC_ARG_WITH([Meshdeformation], 358 AS_HELP_STRING([--with-Meshdeformation = YES], [compile with Meshdeformation capabilities (default is yes)]), 359 [MESHDEFORMATION=$withval],[MESHDEFORMATION=yes]) 360 AC_MSG_CHECKING(for Meshdeformation capability compilation) 361 362 HAVE_MESHDEFORMATION=no 363 if test "x$MESHDEFORMATION" = "xyes"; then 364 HAVE_MESHDEFORMATION=yes 365 AC_DEFINE([_HAVE_MESHDEFORMATION_],[1],[with Meshdeformation capability]) 366 fi 367 AM_CONDITIONAL([MESHDEFORMATION], [test x$HAVE_MESHDEFORMATION = xyes]) 368 AC_MSG_RESULT($HAVE_MESHDEFORMATION) 369 dnl }}} 370 dnl with-Levelset{{{ 371 AC_ARG_WITH([Levelset], 372 AS_HELP_STRING([--with-Levelset = YES], [compile with Levelset capabilities (default is yes)]), 373 [LEVELSET=$withval],[LEVELSET=yes]) 374 AC_MSG_CHECKING(for Levelset capability compilation) 375 376 HAVE_LEVELSET=no 377 if test "x$LEVELSET" = "xyes"; then 378 HAVE_LEVELSET=yes 379 AC_DEFINE([_HAVE_LEVELSET_],[1],[with Levelset capability]) 380 fi 381 AM_CONDITIONAL([LEVELSET], [test x$HAVE_LEVELSET = xyes]) 382 AC_MSG_RESULT($HAVE_LEVELSET) 383 dnl }}} 384 dnl with-Extrapolation{{{ 385 AC_ARG_WITH([Extrapolation], 386 AS_HELP_STRING([--with-Extrapolation = YES], [compile with Extrapolation capabilities (default is yes)]), 387 [EXTRAPOLATION=$withval],[EXTRAPOLATION=yes]) 388 AC_MSG_CHECKING(for Extrapolation capability compilation) 389 390 HAVE_EXTRAPOLATION=no 391 if test "x$EXTRAPOLATION" = "xyes"; then 392 HAVE_EXTRAPOLATION=yes 393 AC_DEFINE([_HAVE_EXTRAPOLATION_],[1],[with Extrapolation capability]) 394 fi 395 AM_CONDITIONAL([EXTRAPOLATION], [test x$HAVE_EXTRAPOLATION = xyes]) 396 AC_MSG_RESULT($HAVE_EXTRAPOLATION) 397 dnl }}} 398 dnl with-LsfReinitialization{{{ 399 AC_ARG_WITH([LsfReinitialization], 400 AS_HELP_STRING([--with-LsfReinitialization = YES], [compile with LsfReinitialization capabilities (default is yes)]), 401 [LSFREINITIALIZATION=$withval],[LSFREINITIALIZATION=yes]) 402 AC_MSG_CHECKING(for LsfReinitialization capability compilation) 403 404 HAVE_LSFREINITIALIZATION=no 405 if test "x$LSFREINITIALIZATION" = "xyes"; then 406 HAVE_LSFREINITIALIZATION=yes 407 AC_DEFINE([_HAVE_LSFREINITIALIZATION_],[1],[with LsfReinitialization capability]) 408 fi 409 AM_CONDITIONAL([LSFREINITIALIZATION], [test x$HAVE_LSFREINITIALIZATION = xyes]) 410 AC_MSG_RESULT($HAVE_LSFREINITIALIZATION) 411 dnl }}} 412 10 [ 11 12 dnl with-AdjointBalancethickness{{{ 13 AC_ARG_WITH([AdjointBalancethickness], 14 AS_HELP_STRING([--with-AdjointBalancethickness = YES], [compile with AdjointBalancethickness capabilities (default is yes)]), 15 [ADJOINTBALANCETHICKNESS=$withval],[ADJOINTBALANCETHICKNESS=yes]) 16 AC_MSG_CHECKING(for AdjointBalancethickness capability compilation) 17 18 HAVE_ADJOINTBALANCETHICKNESS=no 19 if test "x$ADJOINTBALANCETHICKNESS" = "xyes"; then 20 HAVE_ADJOINTBALANCETHICKNESS=yes 21 AC_DEFINE([_HAVE_ADJOINTBALANCETHICKNESS_],[1],[with AdjointBalancethicknesscapability]) 22 fi 23 AM_CONDITIONAL([ADJOINTBALANCETHICKNESS], [test x$HAVE_ADJOINTBALANCETHICKNESS = xyes]) 24 AC_MSG_RESULT($HAVE_ADJOINTBALANCETHICKNESS) 25 dnl }}} 26 dnl with-AdjointHoriz{{{ 27 AC_ARG_WITH([AdjointHoriz], 28 AS_HELP_STRING([--with-AdjointHoriz = YES], [compile with AdjointHoriz capabilities (default is yes)]), 29 [ADJOINTHORIZ=$withval],[ADJOINTHORIZ=yes]) 30 AC_MSG_CHECKING(for AdjointHoriz capability compilation) 31 32 HAVE_ADJOINTHORIZ=no 33 if test "x$ADJOINTHORIZ" = "xyes"; then 34 HAVE_ADJOINTHORIZ=yes 35 AC_DEFINE([_HAVE_ADJOINTHORIZ_],[1],[with AdjointHorizcapability]) 36 fi 37 AM_CONDITIONAL([ADJOINTHORIZ], [test x$HAVE_ADJOINTHORIZ = xyes]) 38 AC_MSG_RESULT($HAVE_ADJOINTHORIZ) 39 dnl }}} 40 dnl with-Balancethickness{{{ 41 AC_ARG_WITH([Balancethickness], 42 AS_HELP_STRING([--with-Balancethickness = YES], [compile with Balancethickness capabilities (default is yes)]), 43 [BALANCETHICKNESS=$withval],[BALANCETHICKNESS=yes]) 44 AC_MSG_CHECKING(for Balancethickness capability compilation) 45 46 HAVE_BALANCETHICKNESS=no 47 if test "x$BALANCETHICKNESS" = "xyes"; then 48 HAVE_BALANCETHICKNESS=yes 49 AC_DEFINE([_HAVE_BALANCETHICKNESS_],[1],[with Balancethicknesscapability]) 50 fi 51 AM_CONDITIONAL([BALANCETHICKNESS], [test x$HAVE_BALANCETHICKNESS = xyes]) 52 AC_MSG_RESULT($HAVE_BALANCETHICKNESS) 53 dnl }}} 54 dnl with-BalancethicknessSoft{{{ 55 AC_ARG_WITH([BalancethicknessSoft], 56 AS_HELP_STRING([--with-BalancethicknessSoft = YES], [compile with BalancethicknessSoft capabilities (default is yes)]), 57 [BALANCETHICKNESSSOFT=$withval],[BALANCETHICKNESSSOFT=yes]) 58 AC_MSG_CHECKING(for BalancethicknessSoft capability compilation) 59 60 HAVE_BALANCETHICKNESSSOFT=no 61 if test "x$BALANCETHICKNESSSOFT" = "xyes"; then 62 HAVE_BALANCETHICKNESSSOFT=yes 63 AC_DEFINE([_HAVE_BALANCETHICKNESSSOFT_],[1],[with BalancethicknessSoftcapability]) 64 fi 65 AM_CONDITIONAL([BALANCETHICKNESSSOFT], [test x$HAVE_BALANCETHICKNESSSOFT = xyes]) 66 AC_MSG_RESULT($HAVE_BALANCETHICKNESSSOFT) 67 dnl }}} 68 dnl with-Balancevelocity{{{ 69 AC_ARG_WITH([Balancevelocity], 70 AS_HELP_STRING([--with-Balancevelocity = YES], [compile with Balancevelocity capabilities (default is yes)]), 71 [BALANCEVELOCITY=$withval],[BALANCEVELOCITY=yes]) 72 AC_MSG_CHECKING(for Balancevelocity capability compilation) 73 74 HAVE_BALANCEVELOCITY=no 75 if test "x$BALANCEVELOCITY" = "xyes"; then 76 HAVE_BALANCEVELOCITY=yes 77 AC_DEFINE([_HAVE_BALANCEVELOCITY_],[1],[with Balancevelocitycapability]) 78 fi 79 AM_CONDITIONAL([BALANCEVELOCITY], [test x$HAVE_BALANCEVELOCITY = xyes]) 80 AC_MSG_RESULT($HAVE_BALANCEVELOCITY) 81 dnl }}} 82 dnl with-L2ProjectionEPL{{{ 83 AC_ARG_WITH([L2ProjectionEPL], 84 AS_HELP_STRING([--with-L2ProjectionEPL = YES], [compile with L2ProjectionEPL capabilities (default is yes)]), 85 [L2PROJECTIONEPL=$withval],[L2PROJECTIONEPL=yes]) 86 AC_MSG_CHECKING(for L2ProjectionEPL capability compilation) 87 88 HAVE_L2PROJECTIONEPL=no 89 if test "x$L2PROJECTIONEPL" = "xyes"; then 90 HAVE_L2PROJECTIONEPL=yes 91 AC_DEFINE([_HAVE_L2PROJECTIONEPL_],[1],[with L2ProjectionEPLcapability]) 92 fi 93 AM_CONDITIONAL([L2PROJECTIONEPL], [test x$HAVE_L2PROJECTIONEPL = xyes]) 94 AC_MSG_RESULT($HAVE_L2PROJECTIONEPL) 95 dnl }}} 96 dnl with-L2ProjectionBase{{{ 97 AC_ARG_WITH([L2ProjectionBase], 98 AS_HELP_STRING([--with-L2ProjectionBase = YES], [compile with L2ProjectionBase capabilities (default is yes)]), 99 [L2PROJECTIONBASE=$withval],[L2PROJECTIONBASE=yes]) 100 AC_MSG_CHECKING(for L2ProjectionBase capability compilation) 101 102 HAVE_L2PROJECTIONBASE=no 103 if test "x$L2PROJECTIONBASE" = "xyes"; then 104 HAVE_L2PROJECTIONBASE=yes 105 AC_DEFINE([_HAVE_L2PROJECTIONBASE_],[1],[with L2ProjectionBasecapability]) 106 fi 107 AM_CONDITIONAL([L2PROJECTIONBASE], [test x$HAVE_L2PROJECTIONBASE = xyes]) 108 AC_MSG_RESULT($HAVE_L2PROJECTIONBASE) 109 dnl }}} 110 dnl with-DamageEvolution{{{ 111 AC_ARG_WITH([DamageEvolution], 112 AS_HELP_STRING([--with-DamageEvolution = YES], [compile with DamageEvolution capabilities (default is yes)]), 113 [DAMAGEEVOLUTION=$withval],[DAMAGEEVOLUTION=yes]) 114 AC_MSG_CHECKING(for DamageEvolution capability compilation) 115 116 HAVE_DAMAGEEVOLUTION=no 117 if test "x$DAMAGEEVOLUTION" = "xyes"; then 118 HAVE_DAMAGEEVOLUTION=yes 119 AC_DEFINE([_HAVE_DAMAGEEVOLUTION_],[1],[with DamageEvolutioncapability]) 120 fi 121 AM_CONDITIONAL([DAMAGEEVOLUTION], [test x$HAVE_DAMAGEEVOLUTION = xyes]) 122 AC_MSG_RESULT($HAVE_DAMAGEEVOLUTION) 123 dnl }}} 124 dnl with-Stressbalance{{{ 125 AC_ARG_WITH([Stressbalance], 126 AS_HELP_STRING([--with-Stressbalance = YES], [compile with Stressbalance capabilities (default is yes)]), 127 [STRESSBALANCE=$withval],[STRESSBALANCE=yes]) 128 AC_MSG_CHECKING(for Stressbalance capability compilation) 129 130 HAVE_STRESSBALANCE=no 131 if test "x$STRESSBALANCE" = "xyes"; then 132 HAVE_STRESSBALANCE=yes 133 AC_DEFINE([_HAVE_STRESSBALANCE_],[1],[with Stressbalancecapability]) 134 fi 135 AM_CONDITIONAL([STRESSBALANCE], [test x$HAVE_STRESSBALANCE = xyes]) 136 AC_MSG_RESULT($HAVE_STRESSBALANCE) 137 dnl }}} 138 dnl with-StressbalanceSIA{{{ 139 AC_ARG_WITH([StressbalanceSIA], 140 AS_HELP_STRING([--with-StressbalanceSIA = YES], [compile with StressbalanceSIA capabilities (default is yes)]), 141 [STRESSBALANCESIA=$withval],[STRESSBALANCESIA=yes]) 142 AC_MSG_CHECKING(for StressbalanceSIA capability compilation) 143 144 HAVE_STRESSBALANCESIA=no 145 if test "x$STRESSBALANCESIA" = "xyes"; then 146 HAVE_STRESSBALANCESIA=yes 147 AC_DEFINE([_HAVE_STRESSBALANCESIA_],[1],[with StressbalanceSIAcapability]) 148 fi 149 AM_CONDITIONAL([STRESSBALANCESIA], [test x$HAVE_STRESSBALANCESIA = xyes]) 150 AC_MSG_RESULT($HAVE_STRESSBALANCESIA) 151 dnl }}} 152 dnl with-StressbalanceVertical{{{ 153 AC_ARG_WITH([StressbalanceVertical], 154 AS_HELP_STRING([--with-StressbalanceVertical = YES], [compile with StressbalanceVertical capabilities (default is yes)]), 155 [STRESSBALANCEVERTICAL=$withval],[STRESSBALANCEVERTICAL=yes]) 156 AC_MSG_CHECKING(for StressbalanceVertical capability compilation) 157 158 HAVE_STRESSBALANCEVERTICAL=no 159 if test "x$STRESSBALANCEVERTICAL" = "xyes"; then 160 HAVE_STRESSBALANCEVERTICAL=yes 161 AC_DEFINE([_HAVE_STRESSBALANCEVERTICAL_],[1],[with StressbalanceVerticalcapability]) 162 fi 163 AM_CONDITIONAL([STRESSBALANCEVERTICAL], [test x$HAVE_STRESSBALANCEVERTICAL = xyes]) 164 AC_MSG_RESULT($HAVE_STRESSBALANCEVERTICAL) 165 dnl }}} 166 dnl with-Enthalpy{{{ 167 AC_ARG_WITH([Enthalpy], 168 AS_HELP_STRING([--with-Enthalpy = YES], [compile with Enthalpy capabilities (default is yes)]), 169 [ENTHALPY=$withval],[ENTHALPY=yes]) 170 AC_MSG_CHECKING(for Enthalpy capability compilation) 171 172 HAVE_ENTHALPY=no 173 if test "x$ENTHALPY" = "xyes"; then 174 HAVE_ENTHALPY=yes 175 AC_DEFINE([_HAVE_ENTHALPY_],[1],[with Enthalpycapability]) 176 fi 177 AM_CONDITIONAL([ENTHALPY], [test x$HAVE_ENTHALPY = xyes]) 178 AC_MSG_RESULT($HAVE_ENTHALPY) 179 dnl }}} 180 dnl with-HydrologyShreve{{{ 181 AC_ARG_WITH([HydrologyShreve], 182 AS_HELP_STRING([--with-HydrologyShreve = YES], [compile with HydrologyShreve capabilities (default is yes)]), 183 [HYDROLOGYSHREVE=$withval],[HYDROLOGYSHREVE=yes]) 184 AC_MSG_CHECKING(for HydrologyShreve capability compilation) 185 186 HAVE_HYDROLOGYSHREVE=no 187 if test "x$HYDROLOGYSHREVE" = "xyes"; then 188 HAVE_HYDROLOGYSHREVE=yes 189 AC_DEFINE([_HAVE_HYDROLOGYSHREVE_],[1],[with HydrologyShrevecapability]) 190 fi 191 AM_CONDITIONAL([HYDROLOGYSHREVE], [test x$HAVE_HYDROLOGYSHREVE = xyes]) 192 AC_MSG_RESULT($HAVE_HYDROLOGYSHREVE) 193 dnl }}} 194 dnl with-HydrologyDCInefficient{{{ 195 AC_ARG_WITH([HydrologyDCInefficient], 196 AS_HELP_STRING([--with-HydrologyDCInefficient = YES], [compile with HydrologyDCInefficient capabilities (default is yes)]), 197 [HYDROLOGYDCINEFFICIENT=$withval],[HYDROLOGYDCINEFFICIENT=yes]) 198 AC_MSG_CHECKING(for HydrologyDCInefficient capability compilation) 199 200 HAVE_HYDROLOGYDCINEFFICIENT=no 201 if test "x$HYDROLOGYDCINEFFICIENT" = "xyes"; then 202 HAVE_HYDROLOGYDCINEFFICIENT=yes 203 AC_DEFINE([_HAVE_HYDROLOGYDCINEFFICIENT_],[1],[with HydrologyDCInefficientcapability]) 204 fi 205 AM_CONDITIONAL([HYDROLOGYDCINEFFICIENT], [test x$HAVE_HYDROLOGYDCINEFFICIENT = xyes]) 206 AC_MSG_RESULT($HAVE_HYDROLOGYDCINEFFICIENT) 207 dnl }}} 208 dnl with-HydrologyDCEfficient{{{ 209 AC_ARG_WITH([HydrologyDCEfficient], 210 AS_HELP_STRING([--with-HydrologyDCEfficient = YES], [compile with HydrologyDCEfficient capabilities (default is yes)]), 211 [HYDROLOGYDCEFFICIENT=$withval],[HYDROLOGYDCEFFICIENT=yes]) 212 AC_MSG_CHECKING(for HydrologyDCEfficient capability compilation) 213 214 HAVE_HYDROLOGYDCEFFICIENT=no 215 if test "x$HYDROLOGYDCEFFICIENT" = "xyes"; then 216 HAVE_HYDROLOGYDCEFFICIENT=yes 217 AC_DEFINE([_HAVE_HYDROLOGYDCEFFICIENT_],[1],[with HydrologyDCEfficientcapability]) 218 fi 219 AM_CONDITIONAL([HYDROLOGYDCEFFICIENT], [test x$HAVE_HYDROLOGYDCEFFICIENT = xyes]) 220 AC_MSG_RESULT($HAVE_HYDROLOGYDCEFFICIENT) 221 dnl }}} 222 dnl with-Melting{{{ 223 AC_ARG_WITH([Melting], 224 AS_HELP_STRING([--with-Melting = YES], [compile with Melting capabilities (default is yes)]), 225 [MELTING=$withval],[MELTING=yes]) 226 AC_MSG_CHECKING(for Melting capability compilation) 227 228 HAVE_MELTING=no 229 if test "x$MELTING" = "xyes"; then 230 HAVE_MELTING=yes 231 AC_DEFINE([_HAVE_MELTING_],[1],[with Meltingcapability]) 232 fi 233 AM_CONDITIONAL([MELTING], [test x$HAVE_MELTING = xyes]) 234 AC_MSG_RESULT($HAVE_MELTING) 235 dnl }}} 236 dnl with-Masstransport{{{ 237 AC_ARG_WITH([Masstransport], 238 AS_HELP_STRING([--with-Masstransport = YES], [compile with Masstransport capabilities (default is yes)]), 239 [MASSTRANSPORT=$withval],[MASSTRANSPORT=yes]) 240 AC_MSG_CHECKING(for Masstransport capability compilation) 241 242 HAVE_MASSTRANSPORT=no 243 if test "x$MASSTRANSPORT" = "xyes"; then 244 HAVE_MASSTRANSPORT=yes 245 AC_DEFINE([_HAVE_MASSTRANSPORT_],[1],[with Masstransportcapability]) 246 fi 247 AM_CONDITIONAL([MASSTRANSPORT], [test x$HAVE_MASSTRANSPORT = xyes]) 248 AC_MSG_RESULT($HAVE_MASSTRANSPORT) 249 dnl }}} 250 dnl with-FreeSurfaceBase{{{ 251 AC_ARG_WITH([FreeSurfaceBase], 252 AS_HELP_STRING([--with-FreeSurfaceBase = YES], [compile with FreeSurfaceBase capabilities (default is yes)]), 253 [FREESURFACEBASE=$withval],[FREESURFACEBASE=yes]) 254 AC_MSG_CHECKING(for FreeSurfaceBase capability compilation) 255 256 HAVE_FREESURFACEBASE=no 257 if test "x$FREESURFACEBASE" = "xyes"; then 258 HAVE_FREESURFACEBASE=yes 259 AC_DEFINE([_HAVE_FREESURFACEBASE_],[1],[with FreeSurfaceBasecapability]) 260 fi 261 AM_CONDITIONAL([FREESURFACEBASE], [test x$HAVE_FREESURFACEBASE = xyes]) 262 AC_MSG_RESULT($HAVE_FREESURFACEBASE) 263 dnl }}} 264 dnl with-FreeSurfaceTop{{{ 265 AC_ARG_WITH([FreeSurfaceTop], 266 AS_HELP_STRING([--with-FreeSurfaceTop = YES], [compile with FreeSurfaceTop capabilities (default is yes)]), 267 [FREESURFACETOP=$withval],[FREESURFACETOP=yes]) 268 AC_MSG_CHECKING(for FreeSurfaceTop capability compilation) 269 270 HAVE_FREESURFACETOP=no 271 if test "x$FREESURFACETOP" = "xyes"; then 272 HAVE_FREESURFACETOP=yes 273 AC_DEFINE([_HAVE_FREESURFACETOP_],[1],[with FreeSurfaceTopcapability]) 274 fi 275 AM_CONDITIONAL([FREESURFACETOP], [test x$HAVE_FREESURFACETOP = xyes]) 276 AC_MSG_RESULT($HAVE_FREESURFACETOP) 277 dnl }}} 278 dnl with-ExtrudeFromBase{{{ 279 AC_ARG_WITH([ExtrudeFromBase], 280 AS_HELP_STRING([--with-ExtrudeFromBase = YES], [compile with ExtrudeFromBase capabilities (default is yes)]), 281 [EXTRUDEFROMBASE=$withval],[EXTRUDEFROMBASE=yes]) 282 AC_MSG_CHECKING(for ExtrudeFromBase capability compilation) 283 284 HAVE_EXTRUDEFROMBASE=no 285 if test "x$EXTRUDEFROMBASE" = "xyes"; then 286 HAVE_EXTRUDEFROMBASE=yes 287 AC_DEFINE([_HAVE_EXTRUDEFROMBASE_],[1],[with ExtrudeFromBasecapability]) 288 fi 289 AM_CONDITIONAL([EXTRUDEFROMBASE], [test x$HAVE_EXTRUDEFROMBASE = xyes]) 290 AC_MSG_RESULT($HAVE_EXTRUDEFROMBASE) 291 dnl }}} 292 dnl with-ExtrudeFromTop{{{ 293 AC_ARG_WITH([ExtrudeFromTop], 294 AS_HELP_STRING([--with-ExtrudeFromTop = YES], [compile with ExtrudeFromTop capabilities (default is yes)]), 295 [EXTRUDEFROMTOP=$withval],[EXTRUDEFROMTOP=yes]) 296 AC_MSG_CHECKING(for ExtrudeFromTop capability compilation) 297 298 HAVE_EXTRUDEFROMTOP=no 299 if test "x$EXTRUDEFROMTOP" = "xyes"; then 300 HAVE_EXTRUDEFROMTOP=yes 301 AC_DEFINE([_HAVE_EXTRUDEFROMTOP_],[1],[with ExtrudeFromTopcapability]) 302 fi 303 AM_CONDITIONAL([EXTRUDEFROMTOP], [test x$HAVE_EXTRUDEFROMTOP = xyes]) 304 AC_MSG_RESULT($HAVE_EXTRUDEFROMTOP) 305 dnl }}} 306 dnl with-DepthAverage{{{ 307 AC_ARG_WITH([DepthAverage], 308 AS_HELP_STRING([--with-DepthAverage = YES], [compile with DepthAverage capabilities (default is yes)]), 309 [DEPTHAVERAGE=$withval],[DEPTHAVERAGE=yes]) 310 AC_MSG_CHECKING(for DepthAverage capability compilation) 311 312 HAVE_DEPTHAVERAGE=no 313 if test "x$DEPTHAVERAGE" = "xyes"; then 314 HAVE_DEPTHAVERAGE=yes 315 AC_DEFINE([_HAVE_DEPTHAVERAGE_],[1],[with DepthAveragecapability]) 316 fi 317 AM_CONDITIONAL([DEPTHAVERAGE], [test x$HAVE_DEPTHAVERAGE = xyes]) 318 AC_MSG_RESULT($HAVE_DEPTHAVERAGE) 319 dnl }}} 320 dnl with-SmoothedSurfaceSlopeX{{{ 321 AC_ARG_WITH([SmoothedSurfaceSlopeX], 322 AS_HELP_STRING([--with-SmoothedSurfaceSlopeX = YES], [compile with SmoothedSurfaceSlopeX capabilities (default is yes)]), 323 [SMOOTHEDSURFACESLOPEX=$withval],[SMOOTHEDSURFACESLOPEX=yes]) 324 AC_MSG_CHECKING(for SmoothedSurfaceSlopeX capability compilation) 325 326 HAVE_SMOOTHEDSURFACESLOPEX=no 327 if test "x$SMOOTHEDSURFACESLOPEX" = "xyes"; then 328 HAVE_SMOOTHEDSURFACESLOPEX=yes 329 AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEX_],[1],[with SmoothedSurfaceSlopeXcapability]) 330 fi 331 AM_CONDITIONAL([SMOOTHEDSURFACESLOPEX], [test x$HAVE_SMOOTHEDSURFACESLOPEX = xyes]) 332 AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEX) 333 dnl }}} 334 dnl with-SmoothedSurfaceSlopeY{{{ 335 AC_ARG_WITH([SmoothedSurfaceSlopeY], 336 AS_HELP_STRING([--with-SmoothedSurfaceSlopeY = YES], [compile with SmoothedSurfaceSlopeY capabilities (default is yes)]), 337 [SMOOTHEDSURFACESLOPEY=$withval],[SMOOTHEDSURFACESLOPEY=yes]) 338 AC_MSG_CHECKING(for SmoothedSurfaceSlopeY capability compilation) 339 340 HAVE_SMOOTHEDSURFACESLOPEY=no 341 if test "x$SMOOTHEDSURFACESLOPEY" = "xyes"; then 342 HAVE_SMOOTHEDSURFACESLOPEY=yes 343 AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEY_],[1],[with SmoothedSurfaceSlopeYcapability]) 344 fi 345 AM_CONDITIONAL([SMOOTHEDSURFACESLOPEY], [test x$HAVE_SMOOTHEDSURFACESLOPEY = xyes]) 346 AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEY) 347 dnl }}} 348 dnl with-Thermal{{{ 349 AC_ARG_WITH([Thermal], 350 AS_HELP_STRING([--with-Thermal = YES], [compile with Thermal capabilities (default is yes)]), 351 [THERMAL=$withval],[THERMAL=yes]) 352 AC_MSG_CHECKING(for Thermal capability compilation) 353 354 HAVE_THERMAL=no 355 if test "x$THERMAL" = "xyes"; then 356 HAVE_THERMAL=yes 357 AC_DEFINE([_HAVE_THERMAL_],[1],[with Thermalcapability]) 358 fi 359 AM_CONDITIONAL([THERMAL], [test x$HAVE_THERMAL = xyes]) 360 AC_MSG_RESULT($HAVE_THERMAL) 361 dnl }}} 362 dnl with-Gia{{{ 363 AC_ARG_WITH([Gia], 364 AS_HELP_STRING([--with-Gia = YES], [compile with Gia capabilities (default is yes)]), 365 [GIA=$withval],[GIA=yes]) 366 AC_MSG_CHECKING(for Gia capability compilation) 367 368 HAVE_GIA=no 369 if test "x$GIA" = "xyes"; then 370 HAVE_GIA=yes 371 AC_DEFINE([_HAVE_GIA_],[1],[with Giacapability]) 372 fi 373 AM_CONDITIONAL([GIA], [test x$HAVE_GIA = xyes]) 374 AC_MSG_RESULT($HAVE_GIA) 375 dnl }}} 376 dnl with-Meshdeformation{{{ 377 AC_ARG_WITH([Meshdeformation], 378 AS_HELP_STRING([--with-Meshdeformation = YES], [compile with Meshdeformation capabilities (default is yes)]), 379 [MESHDEFORMATION=$withval],[MESHDEFORMATION=yes]) 380 AC_MSG_CHECKING(for Meshdeformation capability compilation) 381 382 HAVE_MESHDEFORMATION=no 383 if test "x$MESHDEFORMATION" = "xyes"; then 384 HAVE_MESHDEFORMATION=yes 385 AC_DEFINE([_HAVE_MESHDEFORMATION_],[1],[with Meshdeformationcapability]) 386 fi 387 AM_CONDITIONAL([MESHDEFORMATION], [test x$HAVE_MESHDEFORMATION = xyes]) 388 AC_MSG_RESULT($HAVE_MESHDEFORMATION) 389 dnl }}} 390 dnl with-Levelset{{{ 391 AC_ARG_WITH([Levelset], 392 AS_HELP_STRING([--with-Levelset = YES], [compile with Levelset capabilities (default is yes)]), 393 [LEVELSET=$withval],[LEVELSET=yes]) 394 AC_MSG_CHECKING(for Levelset capability compilation) 395 396 HAVE_LEVELSET=no 397 if test "x$LEVELSET" = "xyes"; then 398 HAVE_LEVELSET=yes 399 AC_DEFINE([_HAVE_LEVELSET_],[1],[with Levelsetcapability]) 400 fi 401 AM_CONDITIONAL([LEVELSET], [test x$HAVE_LEVELSET = xyes]) 402 AC_MSG_RESULT($HAVE_LEVELSET) 403 dnl }}} 404 dnl with-Extrapolation{{{ 405 AC_ARG_WITH([Extrapolation], 406 AS_HELP_STRING([--with-Extrapolation = YES], [compile with Extrapolation capabilities (default is yes)]), 407 [EXTRAPOLATION=$withval],[EXTRAPOLATION=yes]) 408 AC_MSG_CHECKING(for Extrapolation capability compilation) 409 410 HAVE_EXTRAPOLATION=no 411 if test "x$EXTRAPOLATION" = "xyes"; then 412 HAVE_EXTRAPOLATION=yes 413 AC_DEFINE([_HAVE_EXTRAPOLATION_],[1],[with Extrapolationcapability]) 414 fi 415 AM_CONDITIONAL([EXTRAPOLATION], [test x$HAVE_EXTRAPOLATION = xyes]) 416 AC_MSG_RESULT($HAVE_EXTRAPOLATION) 417 dnl }}} 418 dnl with-LsfReinitialization{{{ 419 AC_ARG_WITH([LsfReinitialization], 420 AS_HELP_STRING([--with-LsfReinitialization = YES], [compile with LsfReinitialization capabilities (default is yes)]), 421 [LSFREINITIALIZATION=$withval],[LSFREINITIALIZATION=yes]) 422 AC_MSG_CHECKING(for LsfReinitialization capability compilation) 423 424 HAVE_LSFREINITIALIZATION=no 425 if test "x$LSFREINITIALIZATION" = "xyes"; then 426 HAVE_LSFREINITIALIZATION=yes 427 AC_DEFINE([_HAVE_LSFREINITIALIZATION_],[1],[with LsfReinitializationcapability]) 428 fi 429 AM_CONDITIONAL([LSFREINITIALIZATION], [test x$HAVE_LSFREINITIALIZATION = xyes]) 430 AC_MSG_RESULT($HAVE_LSFREINITIALIZATION) 431 dnl }}} 413 432 414 433 ]) -
issm/trunk-jpl/src/c/shared/Enum/Synchronize.sh
r17236 r17776 14 14 NUMENUMS=$(wc -l temp | awk '{printf("%s",$1);}'); 15 15 16 #Deal with Analyses 17 #Build EnumToAnalysis.cpp {{{ 18 #Header 19 cat <<END > $ISSM_DIR/src/c/analyses/EnumToAnalysis.cpp 20 /* 21 * \file EnumToAnalysis.cpp 22 * \brief: output class depending on enum 23 * 24 * WARNING: DO NOT MODIFY THIS FILE 25 * this file has been automatically generated by Synchronize.sh 26 * Please read README for more information 27 */ 28 29 #include "./analyses.h" 30 #include "../shared/shared.h" 31 32 Analysis* EnumToAnalysis(int analysis_enum){ 33 34 switch(analysis_enum){ 35 END 36 #core 37 cat temp | grep [a-zA-Z]Analysis | \ 38 grep -v DefaultAnalysis | grep -v FlaimAnalysis | grep -v SurfaceSlopeAnalysis | grep -v BedSlopeAnalysis | \ 39 awk '{print "\t\t#ifdef _HAVE_"toupper(substr($1,1,length($1)-12))"_\n\t\t" "case " $1" : return new " substr($1,1,length($1)-4) "();\n\t\t#endif"}' \ 40 >> $ISSM_DIR/src/c/analyses/EnumToAnalysis.cpp 41 42 #Footer 43 cat <<END >> $ISSM_DIR/src/c/analyses/EnumToAnalysis.cpp 44 default : _error_("enum provided not supported ("<<EnumToStringx(analysis_enum)<<")"); 45 } 46 } 47 END 48 #}}} 49 #Build analyses.m4{{{ 50 #Header 51 cat <<END > $ISSM_DIR/m4/analyses.m4 52 53 dnl WARNING: DO NOT MODIFY THIS FILE 54 dnl this file has been automatically generated by Synchronize.sh 55 dnl Please read README for more information 56 57 # AX_ANALYSES_SELECTION 58 # ----------------- 59 # Check for analyses compilation 60 AC_DEFUN([AX_ANALYSES_SELECTION], 61 [ 62 63 END 64 #core 65 cat temp | grep [a-zA-Z]Analysis | \ 66 grep -v DefaultAnalysis | grep -v FlaimAnalysis | grep -v SurfaceSlopeAnalysis | grep -v BedSlopeAnalysis | \ 67 sed -e "s/AnalysisEnum//g" | \ 68 awk '{print "dnl with-" $1"{{{\n\ 69 AC_ARG_WITH([" $1"],\n\ 70 \tAS_HELP_STRING([--with-" $1" = YES], [compile with " $1" capabilities (default is yes)]),\n\ 71 \t[" toupper($1)"=$withval],[" toupper($1)"=yes])\n\ 72 AC_MSG_CHECKING(for " $1" capability compilation)\n\n\ 73 HAVE_" toupper($1)"=no \n\ 74 if test \"x$" toupper($1)"\" = \"xyes\"; then\n\ 75 HAVE_" toupper($1)"=yes\n\ 76 AC_DEFINE([_HAVE_" toupper($1)"_],[1],[with " $1"capability])\n\ 77 fi\n\ 78 AM_CONDITIONAL([" toupper($1)"], [test x$HAVE_" toupper($1)" = xyes])\n\ 79 AC_MSG_RESULT($HAVE_" toupper($1)")\n\ 80 dnl }}}"}' \ 81 >> $ISSM_DIR/m4/analyses.m4 82 83 #Footer 84 cat <<END >> $ISSM_DIR/m4/analyses.m4 85 86 ]) 87 END 88 #}}} 89 90 #Enum to String conversions 16 91 #Build EnumToStringx.cpp {{{ 17 92 #Header … … 104 179 END 105 180 #}}} 106 #Build EnumToAnalysis.cpp {{{ 107 #Header 108 cat <<END > $ISSM_DIR/src/c/analyses/EnumToAnalysis.cpp 109 /* 110 * \file EnumToAnalysis.cpp 111 * \brief: output class depending on enum 112 * 113 * WARNING: DO NOT MODIFY THIS FILE 114 * this file has been automatically generated by Synchronize.sh 115 * Please read README for more information 116 */ 117 118 #include "./analyses.h" 119 #include "../shared/shared.h" 120 121 Analysis* EnumToAnalysis(int analysis_enum){ 122 123 switch(analysis_enum){ 124 END 125 #core 126 cat temp | grep [a-zA-Z]Analysis | \ 127 grep -v DefaultAnalysis | grep -v FlaimAnalysis | grep -v SurfaceSlopeAnalysis | grep -v BedSlopeAnalysis | \ 128 awk '{print "\t\t#ifdef _HAVE_"toupper(substr($1,1,length($1)-12))"_\n\t\t" "case " $1" : return new " substr($1,1,length($1)-4) "();\n\t\t#endif"}' \ 129 >> $ISSM_DIR/src/c/analyses/EnumToAnalysis.cpp 130 131 #Footer 132 cat <<END >> $ISSM_DIR/src/c/analyses/EnumToAnalysis.cpp 133 default : _error_("enum provided not supported ("<<EnumToStringx(analysis_enum)<<")"); 134 } 135 } 136 END 137 #}}} 181 182 #Deal with Python Enums 138 183 #Build EnumDefinitions.py{{{ 139 184 cat <<END > $ISSM_DIR/src/m/enum/EnumDefinitions.py … … 153 198 #}}} 154 199 155 # go through the lines of temp200 #Deal with Matlab Enums` 156 201 ENUM=0; 157 202
Note:
See TracChangeset
for help on using the changeset viewer.