Browse Source

format code line length up to 160

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@842 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 10 years ago
parent
commit
38cbd36aae
  1. 22
      config.m4

22
config.m4

@ -95,18 +95,18 @@ if test "$PHP_XCACHE" != "no"; then
XCACHE_INDENT=cat
case $INDENT in
*/indent[)]
opts="-kr --use-tabs --tab-size 4 -sob -nce"
XCACHE_INDENT="$INDENT"
opts="-kr --use-tabs --tab-size 4"
if echo | $INDENT $opts > /dev/null 2>&1 ; then
XCACHE_INDENT="$INDENT $opts"
else
opts="-sob -nce"
if echo | $INDENT $opts > /dev/null 2>&1 ; then
XCACHE_INDENT="$INDENT $opts"
else
if echo | $INDENT > /dev/null 2>&1 ; then
XCACHE_INDENT="$INDENT"
fi
fi
XCACHE_INDENT="$XCACHE_INDENT $opts"
fi
opts="-sob -nce"
if echo | $INDENT $opts > /dev/null 2>&1 ; then
XCACHE_INDENT="$XCACHE_INDENT $opts"
fi
opts="-l 160"
if echo | $INDENT $opts > /dev/null 2>&1 ; then
XCACHE_INDENT="$XCACHE_INDENT $opts"
fi
;;
esac

Loading…
Cancel
Save