From 699bcc4bd8166abb6ee26a37d9e1189817741277 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 8 Apr 2010 18:39:24 +0200 Subject: convert all TABs to equivalent spaces in indentation Using this file, cat > leading-blank.exempt <<\EOF (?:^|\/)ChangeLog[^/]*$ (?:^|\/)(?:GNU)?[Mm]akefile[^/]*$ \.(?:am|mk)$ EOF run this command to convert all non-conforming leading white space to be all spaces: git ls-files \ | pcregrep -vf leading-blank.exempt \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_' --- m4/pcre.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'm4') diff --git a/m4/pcre.m4 b/m4/pcre.m4 index 3fc931e5..476396d3 100644 --- a/m4/pcre.m4 +++ b/m4/pcre.m4 @@ -28,12 +28,12 @@ AC_DEFUN([gl_FUNC_PCRE], || test $ac_cv_header_pcre_pcre_h = yes; then pcre_saved_LIBS=$LIBS AC_SEARCH_LIBS([pcre_compile], [pcre], - [test "$ac_cv_search_pcre_compile" = "none required" || - LIB_PCRE=$ac_cv_search_pcre_compile]) + [test "$ac_cv_search_pcre_compile" = "none required" || + LIB_PCRE=$ac_cv_search_pcre_compile]) AC_CHECK_FUNCS([pcre_compile]) LIBS=$pcre_saved_LIBS if test $ac_cv_func_pcre_compile = yes; then - use_pcre=yes + use_pcre=yes fi fi if test $use_pcre = no; then -- cgit v1.2.1