diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-22 18:56:06 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-25 09:21:00 +0200 |
commit | 5e778f7c8d1ecf3d8f11385db013af2ba026e2a5 (patch) | |
tree | e460d471f37f0dce1ba06f60f88114d1a65326c4 /m4 | |
parent | 2bc0f3caaafeb240cdcfd050b7ad1fe0ad14addf (diff) | |
download | coreutils-5e778f7c8d1ecf3d8f11385db013af2ba026e2a5.tar.xz |
global: convert indentation-TABs to spaces
Transformed via this shell code:
t=$'\t'
git ls-files \
| grep -vE '(^|/)((GNU)?[Mm]akefile|ChangeLog)|\.(am|mk)$' \
| grep -vE 'tests/pr/|help2man' \
| xargs grep -lE "^ *$t" \
| xargs perl -MText::Tabs -ni -le \
'$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
Diffstat (limited to 'm4')
-rw-r--r-- | m4/include-exclude-prog.m4 | 10 | ||||
-rw-r--r-- | m4/jm-macros.m4 | 28 | ||||
-rw-r--r-- | m4/lib-check.m4 | 4 | ||||
-rw-r--r-- | m4/stat-prog.m4 | 28 | ||||
-rw-r--r-- | m4/xattr.m4 | 12 |
5 files changed, 41 insertions, 41 deletions
diff --git a/m4/include-exclude-prog.m4 b/m4/include-exclude-prog.m4 index ea4c169a2..51bd1d036 100644 --- a/m4/include-exclude-prog.m4 +++ b/m4/include-exclude-prog.m4 @@ -36,8 +36,8 @@ AC_DEFUN([gl_INCLUDE_EXCLUDE_PROG], gl_no_install_progs_default=`echo '$2'|sed 's/,/ /g'` AC_ARG_ENABLE([install-program], [AS_HELP_STRING([--enable-install-program=PROG_LIST], - [install the programs in PROG_LIST (comma-separated, - default: none)])], + [install the programs in PROG_LIST (comma-separated, + default: none)])], [gl_do_install_prog=$enableval], [gl_do_install_prog=] ) @@ -46,8 +46,8 @@ AC_DEFUN([gl_INCLUDE_EXCLUDE_PROG], # use --enable-no-install-program=A,B AC_ARG_ENABLE([no-install-program], [AS_HELP_STRING([--enable-no-install-program=PROG_LIST], - [do NOT install the programs in PROG_LIST - (comma-separated, default: $2)])], + [do NOT install the programs in PROG_LIST + (comma-separated, default: $2)])], [gl_no_install_prog=$enableval], [gl_no_install_prog=] ) @@ -78,7 +78,7 @@ AC_DEFUN([gl_INCLUDE_EXCLUDE_PROG], # Warn about a request not to install a program that is # already on the default-no-install list. case " $gl_no_install_progs_default " in - *" $gl_i "*) gl_msg="by default, '$gl_i' is not installed" ;; + *" $gl_i "*) gl_msg="by default, '$gl_i' is not installed" ;; esac fi diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 32a0954a7..416a0af25 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -37,9 +37,9 @@ AC_DEFUN([coreutils_MACROS], # By default, argmatch should fail calling usage (1). AC_DEFINE([ARGMATCH_DIE], [usage (1)], - [Define to the function xargmatch calls on failures.]) + [Define to the function xargmatch calls on failures.]) AC_DEFINE([ARGMATCH_DIE_DECL], [void usage (int _e)], - [Define to the declaration of the xargmatch failure function.]) + [Define to the declaration of the xargmatch failure function.]) # used by ls AC_REQUIRE([gl_CLOCK_TIME]) @@ -52,13 +52,13 @@ AC_DEFUN([coreutils_MACROS], AC_CHECK_FUNCS([matchpathcon_init_prefix], [], [ case "$ac_cv_search_setfilecon:$ac_cv_header_selinux_selinux_h" in - no:*) # SELinux disabled - ;; - *:no) # SELinux disabled - ;; - *) - AC_MSG_WARN([SELinux enabled, but matchpathcon_init_prefix not found]) - AC_MSG_WARN([The install utility may run slowly]) + no:*) # SELinux disabled + ;; + *:no) # SELinux disabled + ;; + *) + AC_MSG_WARN([SELinux enabled, but matchpathcon_init_prefix not found]) + AC_MSG_WARN([The install utility may run slowly]) esac ]) LIBS=$coreutils_saved_libs @@ -98,8 +98,8 @@ AC_DEFUN([coreutils_MACROS], # for dd.c and shred.c coreutils_saved_libs=$LIBS AC_SEARCH_LIBS([fdatasync], [rt posix4], - [test "$ac_cv_search_fdatasync" = "none required" || - LIB_FDATASYNC=$ac_cv_search_fdatasync]) + [test "$ac_cv_search_fdatasync" = "none required" || + LIB_FDATASYNC=$ac_cv_search_fdatasync]) AC_SUBST([LIB_FDATASYNC]) AC_CHECK_FUNCS([fdatasync]) LIBS=$coreutils_saved_libs @@ -110,9 +110,9 @@ AC_DEFUN([coreutils_MACROS], AC_MSG_WARN([libcap support disabled by user]), [AC_CHECK_LIB([cap], [cap_get_file], [AC_CHECK_HEADER([sys/capability.h], - [LIB_CAP=-lcap - AC_DEFINE([HAVE_CAP], [1], [libcap usability])], - [AC_MSG_WARN([header sys/capability.h was not found, support for libcap will not be built])] + [LIB_CAP=-lcap + AC_DEFINE([HAVE_CAP], [1], [libcap usability])], + [AC_MSG_WARN([header sys/capability.h was not found, support for libcap will not be built])] )], [AC_MSG_WARN([libcap library was not found or not usable, support for libcap will not be built])]) ]) diff --git a/m4/lib-check.m4 b/m4/lib-check.m4 index 952101bda..e169fa16a 100644 --- a/m4/lib-check.m4 +++ b/m4/lib-check.m4 @@ -53,8 +53,8 @@ $ac_includes_default # NetBSD needs -lcrypt for crypt. cu_saved_libs="$LIBS" AC_SEARCH_LIBS([crypt], [ufc crypt], - [test "$ac_cv_search_crypt" = "none required" || - LIB_CRYPT="$ac_cv_search_crypt"]) + [test "$ac_cv_search_crypt" = "none required" || + LIB_CRYPT="$ac_cv_search_crypt"]) LIBS="$cu_saved_libs" AC_SUBST([LIB_CRYPT]) ]) diff --git a/m4/stat-prog.m4 b/m4/stat-prog.m4 index 0db9c7d41..c80499c83 100644 --- a/m4/stat-prog.m4 +++ b/m4/stat-prog.m4 @@ -57,30 +57,30 @@ AC_INCLUDES_DEFAULT { AC_CHECK_MEMBERS([struct statvfs.f_basetype],,, [$statvfs_includes]) test $ac_cv_member_struct_statvfs_f_basetype = yes || { AC_CHECK_MEMBERS([struct statvfs.f_fstypename],,, [$statvfs_includes]) - test $ac_cv_member_struct_statvfs_f_fstypename = yes || - { test $ac_cv_member_struct_statfs_f_fstypename != yes && - { AC_CHECK_MEMBERS([struct statvfs.f_type],,, [$statvfs_includes]) - test $ac_cv_member_struct_statvfs_f_type = yes; }; }; }; } + test $ac_cv_member_struct_statvfs_f_fstypename = yes || + { test $ac_cv_member_struct_statfs_f_fstypename != yes && + { AC_CHECK_MEMBERS([struct statvfs.f_type],,, [$statvfs_includes]) + test $ac_cv_member_struct_statvfs_f_type = yes; }; }; }; } then AC_CHECK_MEMBERS([struct statvfs.f_namemax],,, [$statvfs_includes]) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( - [$statvfs_includes], - [static statvfs s; - return (s.s_fsid ^ 0) == 0;])], + [$statvfs_includes], + [static statvfs s; + return (s.s_fsid ^ 0) == 0;])], [AC_DEFINE([STRUCT_STATVFS_F_FSID_IS_INTEGER], [1], - [Define to 1 if the f_fsid member of struct statvfs is an integer.])]) + [Define to 1 if the f_fsid member of struct statvfs is an integer.])]) else AC_CHECK_MEMBERS([struct statfs.f_namelen, struct statfs.f_type],,, [$statfs_includes]) if test $ac_cv_header_OS_h != yes; then AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [$statfs_includes], - [static statfs s; - return (s.s_fsid ^ 0) == 0;])], - [AC_DEFINE([STRUCT_STATFS_F_FSID_IS_INTEGER], [1], - [Define to 1 if the f_fsid member of struct statfs is an integer.])]) + [AC_LANG_PROGRAM( + [$statfs_includes], + [static statfs s; + return (s.s_fsid ^ 0) == 0;])], + [AC_DEFINE([STRUCT_STATFS_F_FSID_IS_INTEGER], [1], + [Define to 1 if the f_fsid member of struct statfs is an integer.])]) fi fi ]) diff --git a/m4/xattr.m4 b/m4/xattr.m4 index 6aa612bc3..878e86bc0 100644 --- a/m4/xattr.m4 +++ b/m4/xattr.m4 @@ -11,9 +11,9 @@ AC_DEFUN([gl_FUNC_XATTR], [ AC_ARG_ENABLE([xattr], - AC_HELP_STRING([--disable-xattr], - [do not support extended attributes]), - [use_xattr=$enableval], [use_xattr=yes]) + AC_HELP_STRING([--disable-xattr], + [do not support extended attributes]), + [use_xattr=$enableval], [use_xattr=yes]) if test "$use_xattr" = "yes"; then AC_CHECK_HEADERS([attr/error_context.h attr/libattr.h]) @@ -24,11 +24,11 @@ AC_DEFUN([gl_FUNC_XATTR], use_xattr=0 fi AC_DEFINE_UNQUOTED([USE_XATTR], [$use_xattr], - [Define if you want extended attribute support.]) + [Define if you want extended attribute support.]) xattr_saved_LIBS=$LIBS AC_SEARCH_LIBS([attr_copy_file], [attr], - [test "$ac_cv_search_attr_copy_file" = "none required" || - LIB_XATTR=$ac_cv_search_attr_copy_file]) + [test "$ac_cv_search_attr_copy_file" = "none required" || + LIB_XATTR=$ac_cv_search_attr_copy_file]) AC_CHECK_FUNCS([attr_copy_file]) LIBS=$xattr_saved_LIBS AC_SUBST([LIB_XATTR]) |