Changeset 18595


Ignore:
Timestamp:
10/08/14 09:27:36 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added Smooth analysis

File:
1 edited

Legend:

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

    r18492 r18595  
    634634
    635635dnl }}}
    636 dnl with-SmoothedSurfaceSlopeX{{{
    637 
    638 AC_ARG_WITH([SmoothedSurfaceSlopeX],
    639 
    640         AS_HELP_STRING([--with-SmoothedSurfaceSlopeX = YES], [compile with SmoothedSurfaceSlopeX capabilities (default is yes)]),
    641 
    642         [SMOOTHEDSURFACESLOPEX=$withval],[SMOOTHEDSURFACESLOPEX=yes])
    643 
    644 AC_MSG_CHECKING(for SmoothedSurfaceSlopeX capability compilation)
    645 
    646 
    647 HAVE_SMOOTHEDSURFACESLOPEX=no
    648 
    649 if test "x$SMOOTHEDSURFACESLOPEX" = "xyes"; then
    650 
    651         HAVE_SMOOTHEDSURFACESLOPEX=yes
    652 
    653         AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEX_],[1],[with SmoothedSurfaceSlopeXcapability])
    654 
    655 fi
    656 
    657 AM_CONDITIONAL([SMOOTHEDSURFACESLOPEX], [test x$HAVE_SMOOTHEDSURFACESLOPEX = xyes])
    658 
    659 AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEX)
    660 
    661 dnl }}}
    662 dnl with-SmoothedSurfaceSlopeY{{{
    663 
    664 AC_ARG_WITH([SmoothedSurfaceSlopeY],
    665 
    666         AS_HELP_STRING([--with-SmoothedSurfaceSlopeY = YES], [compile with SmoothedSurfaceSlopeY capabilities (default is yes)]),
    667 
    668         [SMOOTHEDSURFACESLOPEY=$withval],[SMOOTHEDSURFACESLOPEY=yes])
    669 
    670 AC_MSG_CHECKING(for SmoothedSurfaceSlopeY capability compilation)
    671 
    672 
    673 HAVE_SMOOTHEDSURFACESLOPEY=no
    674 
    675 if test "x$SMOOTHEDSURFACESLOPEY" = "xyes"; then
    676 
    677         HAVE_SMOOTHEDSURFACESLOPEY=yes
    678 
    679         AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEY_],[1],[with SmoothedSurfaceSlopeYcapability])
    680 
    681 fi
    682 
    683 AM_CONDITIONAL([SMOOTHEDSURFACESLOPEY], [test x$HAVE_SMOOTHEDSURFACESLOPEY = xyes])
    684 
    685 AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEY)
     636dnl with-Smooth{{{
     637
     638AC_ARG_WITH([Smooth],
     639
     640        AS_HELP_STRING([--with-Smooth = YES], [compile with Smooth capabilities (default is yes)]),
     641
     642        [SMOOTH=$withval],[SMOOTH=yes])
     643
     644AC_MSG_CHECKING(for Smooth capability compilation)
     645
     646
     647HAVE_SMOOTH=no
     648
     649if test "x$SMOOTH" = "xyes"; then
     650
     651        HAVE_SMOOTH=yes
     652
     653        AC_DEFINE([_HAVE_SMOOTH_],[1],[with Smoothcapability])
     654
     655fi
     656
     657AM_CONDITIONAL([SMOOTH], [test x$HAVE_SMOOTH = xyes])
     658
     659AC_MSG_RESULT($HAVE_SMOOTH)
    686660
    687661dnl }}}
Note: See TracChangeset for help on using the changeset viewer.