Changeset 15673


Ignore:
Timestamp:
08/01/13 13:53:58 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: do not error out if dakota is not provided

File:
1 edited

Legend:

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

    r15672 r15673  
    99                [enable_debugging=$enableval],                                 dnl action if given
    1010                [enable_debugging=no])                                         dnl action if not given
     11
    1112        if test "x$enable_debugging" = xyes; then
    1213                AC_DEFINE([_ISSM_DEBUG_],[1],[Macro to enable debugging in ISSM])
    1314        fi
    14 
    1515        dnl }}}
    1616    dnl Shared build {{{
     
    2222    dnl }}}
    2323    dnl Version{{{
    24     AC_ARG_ENABLE([version],                                                dnl feature
    25         AS_HELP_STRING([--enable-version], [produce libISSM.so.0]),        dnl help string
    26         [enable_version=$enableval],                                        dnl action if given
    27         [enable_version=no])                                                dnl action if not given
     24    AC_ARG_ENABLE([version],                                   dnl feature
     25    AS_HELP_STRING([--enable-version],[produce libISSM.so.0]), dnl help string
     26    [enable_version=$enableval],                               dnl action if given
     27    [enable_version=no])                                       dnl action if not given
    2828    AM_CONDITIONAL([VERSION], [test x$enable_VERSION = xyes])
    2929    dnl }}}
    3030        dnl Wrappers build {{{
    31         AC_ARG_WITH([wrappers],
    32                 AS_HELP_STRING([--with-wrappers = value],[wrappers compilation. ]),
    33                 [WRAPPERS_VALUE=$withval],[WRAPPERS_VALUE="yes"])
     31        AC_ARG_WITH([wrappers],                                           dnl feature
     32        AS_HELP_STRING([--with-wrappers = value],[wrappers compilation]), dnl help string
     33        [WRAPPERS_VALUE=$withval],                                        dnl action if given
     34        [WRAPPERS_VALUE="yes"])                                           dnl action if not given
    3435        AC_MSG_CHECKING(for wrappers compilation)
    3536        AM_CONDITIONAL([WRAPPERS], [test x$WRAPPERS_VALUE = xyes])
     
    4344        dnl ISSM's externalpackages
    4445        dnl vendor{{{
    45         AC_ARG_WITH([vendor],
    46           AS_HELP_STRING([--with-vendor = VENDOR], [vendor name, ex: intel]),
    47           [VENDOR=$withval],[VENDOR=""])
     46        AC_ARG_WITH([vendor],                                              dnl feature
     47        AS_HELP_STRING([--with-vendor = VENDOR],[vendor name, ex: intel]), dnl help string
     48        [VENDOR=$withval],                                                 dnl action if given
     49        [VENDOR=""])                                                       dnl action if not given
    4850        AC_MSG_CHECKING(for vendor compilers)
    4951        if test -n "$VENDOR"; then
    50 
    5152                if  test $VENDOR = intel-win32; then
    5253                        export CC=icl
     
    9798
    9899        dnl 1. See if matlab has been provided
    99         AC_ARG_WITH([matlab-dir],
    100                 AS_HELP_STRING([--with-matlab-dir=DIR], [matlab root directory. necessary for serial build.]),
    101                 [MATLAB_ROOT=$withval],[MATLAB_ROOT="no"])
     100        AC_ARG_WITH([matlab-dir],                                                                     dnl feature
     101        AS_HELP_STRING([--with-matlab-dir=DIR],[matlab root directory. necessary for serial build.]), dnl help string
     102        [MATLAB_ROOT=$withval],                                                                       dnl action if given
     103        [MATLAB_ROOT="no"])                                                                           dnl action if not given
    102104
    103105        AC_MSG_CHECKING([whether matlab is enabled])
     
    217219        AC_ARG_WITH([dakota-dir],
    218220          AS_HELP_STRING([--with-dakota-dir=DIR], [dakota root directory. necessary for serial build]),
    219           [DAKOTA_ROOT=$withval],[DAKOTA_ROOT=""])
     221          [DAKOTA_ROOT=$withval],[DAKOTA_ROOT="no"])
    220222       
    221223        dnl Check whether dakota is enabled
Note: See TracChangeset for help on using the changeset viewer.