Changeset 3879


Ignore:
Timestamp:
Oct 27, 2018 11:01:24 AM (11 months ago)
Author:
stefan
Message:

rename ac_result to ac_success; it seems common to have yes or no as result

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r3878 r3879  
    435435                 void $ac_name();],
    436436                [$ac_name()])],
    437              [ac_result=success],
    438              [ac_result=failure])
     437             [ac_success=yes],
     438             [ac_success=no])
    439439           # AC_MSG_RESULT([$result])
    440            if test $ac_result = success ; then
     440           if test $ac_success = yes ; then
    441441             break 3
    442442           fi
     
    444444       done
    445445     done
    446      if test "$ac_result" = "failure" ; then
     446     if test "$ac_success" = "no" ; then
    447447       m4_tolower(ac_cv_$1_namemangling)=unknown
    448448     fi
     
    512512            [$ac_name()])],
    513513          [$1_namemangling="${ac_case}, ${ac_trail}, ${ac_extra}"
    514            ac_result=success],
    515           [ac_result=failure])
    516         AC_MSG_RESULT([$ac_result])
    517         if test $ac_result = success ; then
     514           ac_success=yes],
     515          [ac_success=no])
     516        AC_MSG_RESULT([$ac_success])
     517        if test $ac_success = yes ; then
    518518          break 3
    519519        fi
     
    523523  LIBS=$ac_save_LIBS
    524524
    525   if test $ac_result = success ; then
     525  if test $ac_success = yes ; then
    526526    m4_ifblank([$4],[:],[$4])
    527527    m4_ifnblank([$5],[else $5])
Note: See TracChangeset for help on using the changeset viewer.