Changeset 36 in svn for trunk/config.m4


Ignore:
Timestamp:
2006-05-27T12:37:10+02:00 (9 years ago)
Author:
Xuefer
Message:

fix for fbsd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config.m4

    r30 r36  
    6262  case $INDENT in
    6363  */indent[)]
    64     XCACHE_INDENT="$INDENT -kr --use-tabs --tab-size 4 -sob -nce"
     64    opts="-kr --use-tabs --tab-size 4 -sob -nce"
     65    if echo | $INDENT $opts > /dev/null 2>&1 ; then
     66      XCACHE_INDENT="$INDENT $opts"
     67    else
     68      opts="-sob -nce"
     69      if echo | $INDENT $opts > /dev/null 2>&1 ; then
     70        XCACHE_INDENT="$INDENT $opts"
     71      else
     72        if echo | $INDENT > /dev/null 2>&1 ; then
     73          XCACHE_INDENT="$INDENT"
     74        fi
     75      fi
     76    fi
    6577    ;;
    6678  *[)]
Note: See TracChangeset for help on using the changeset viewer.