configure.ac: indentation: replace tabs by spaces.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2024-11-05 10:48:12 +03:00
parent 013b2fddc8
commit 1eb6c94c9b

View File

@ -97,9 +97,9 @@ if $HAVE_nroff; then
AC_CACHE_VAL(mc_cv_mandoc, [ AC_CACHE_VAL(mc_cv_mandoc, [
nroff -mandoc < /dev/null > /dev/null 2>&1 nroff -mandoc < /dev/null > /dev/null 2>&1
if test $? = 0; then if test $? = 0; then
mc_cv_mandoc=-mandoc mc_cv_mandoc=-mandoc
else else
mc_cv_mandoc=-man mc_cv_mandoc=-man
fi fi
]) ])
MANDOC=$mc_cv_mandoc MANDOC=$mc_cv_mandoc
@ -109,9 +109,9 @@ if $HAVE_nroff; then
AC_CACHE_VAL(mc_cv_man_nocolor, [ AC_CACHE_VAL(mc_cv_man_nocolor, [
nroff -c < /dev/null > /dev/null 2>&1 nroff -c < /dev/null > /dev/null 2>&1
if test $? = 0; then if test $? = 0; then
mc_cv_man_nocolor=-c mc_cv_man_nocolor=-c
else else
mc_cv_man_nocolor= mc_cv_man_nocolor=
fi fi
]) ])
MAN_FLAGS=$mc_cv_man_nocolor MAN_FLAGS=$mc_cv_man_nocolor
@ -122,12 +122,12 @@ if $HAVE_nroff; then
mc_cv_nroff_tascii= mc_cv_nroff_tascii=
nroff -Tlatin1 < /dev/null > /dev/null 2>&1 /dev/null nroff -Tlatin1 < /dev/null > /dev/null 2>&1 /dev/null
if test $? = 0; then if test $? = 0; then
mc_cv_nroff_tascii=-Tlatin1 mc_cv_nroff_tascii=-Tlatin1
else else
nroff -Tascii < /dev/null > /dev/null 2>&1 /dev/null nroff -Tascii < /dev/null > /dev/null 2>&1 /dev/null
if test $? = 0; then if test $? = 0; then
mc_cv_nroff_tascii=-Tascii mc_cv_nroff_tascii=-Tascii
fi fi
fi fi
]) ])
AC_MSG_RESULT([${mc_cv_nroff_tascii-no}]) AC_MSG_RESULT([${mc_cv_nroff_tascii-no}])
@ -242,9 +242,9 @@ dnl Check for header files
dnl ############################################################################ dnl ############################################################################
AC_CHECK_HEADERS([string.h memory.h limits.h malloc.h \ AC_CHECK_HEADERS([string.h memory.h limits.h malloc.h \
utime.h sys/statfs.h sys/vfs.h \ utime.h sys/statfs.h sys/vfs.h \
sys/select.h sys/ioctl.h stropts.h arpa/inet.h \ sys/select.h sys/ioctl.h stropts.h arpa/inet.h \
sys/socket.h]) sys/socket.h])
dnl This macro is redefined in m4.include/gnulib/sys_types_h.m4 dnl This macro is redefined in m4.include/gnulib/sys_types_h.m4
dnl to work around a buggy version in autoconf <= 2.69. dnl to work around a buggy version in autoconf <= 2.69.
AC_HEADER_MAJOR AC_HEADER_MAJOR
@ -321,9 +321,9 @@ dnl Check for functions
dnl ############################################################################ dnl ############################################################################
AC_CHECK_FUNCS([\ AC_CHECK_FUNCS([\
strverscmp \ strverscmp \
strncasecmp \ strncasecmp \
realpath realpath
]) ])
dnl getpt is a GNU Extension (glibc 2.1.x) dnl getpt is a GNU Extension (glibc 2.1.x)
@ -423,17 +423,16 @@ AC_ARG_WITH([gpm-mouse],
case $host_os in case $host_os in
linux*) linux*)
if test x$with_gpm_mouse != xno; then if test x$with_gpm_mouse != xno; then
AC_CHECK_LIB(gpm, Gpm_Repeat, AC_CHECK_LIB(gpm, Gpm_Repeat,
[AC_DEFINE(HAVE_LIBGPM, 1, [AC_DEFINE(HAVE_LIBGPM, 1, [Define to enable gpm mouse support on Linux])
[Define to enable gpm mouse support on Linux]) mouse_lib="gpm and xterm"
mouse_lib="gpm and xterm" MCLIBS="$MCLIBS -lgpm"],
MCLIBS="$MCLIBS -lgpm"],
if test "x$with_gpm_mouse" = "xyes"; then if test "x$with_gpm_mouse" = "xyes"; then
[AC_MSG_ERROR([libgpm is missing or older than 0.18])] [AC_MSG_ERROR([libgpm is missing or older than 0.18])]
else else
[AC_MSG_WARN([libgpm is missing or older than 0.18])] [AC_MSG_WARN([libgpm is missing or older than 0.18])]
fi fi
) )
fi fi
;; ;;
esac esac
@ -480,12 +479,12 @@ AC_ARG_WITH([diff_viewer],
AS_HELP_STRING([--with-diff-viewer], [Compile with diff viewer @<:@yes@:>@])) AS_HELP_STRING([--with-diff-viewer], [Compile with diff viewer @<:@yes@:>@]))
if test x$with_diff_viewer != xno; then if test x$with_diff_viewer != xno; then
AC_DEFINE(USE_DIFF_VIEW, 1, [Define to enable diff viewer]) AC_DEFINE(USE_DIFF_VIEW, 1, [Define to enable diff viewer])
use_diff=yes use_diff=yes
diff_msg="yes" diff_msg="yes"
AC_MSG_NOTICE([using diff viewer]) AC_MSG_NOTICE([using diff viewer])
else else
diff_msg="no" diff_msg="no"
fi fi
mc_SUBSHELL mc_SUBSHELL
@ -525,9 +524,9 @@ ALL_DOC_LINGUAS="es hu it pl ru sr"
DOC_LINGUAS= DOC_LINGUAS=
if test "x$USE_NLS" = xyes; then if test "x$USE_NLS" = xyes; then
if test -z "$LINGUAS"; then if test -z "$LINGUAS"; then
langs="`grep -v '^#' $srcdir/po/LINGUAS`" langs="`grep -v '^#' $srcdir/po/LINGUAS`"
else else
langs="$LINGUAS" langs="$LINGUAS"
fi fi
else else
langs= langs=
@ -535,10 +534,10 @@ fi
for h_lang in $ALL_DOC_LINGUAS; do for h_lang in $ALL_DOC_LINGUAS; do
for lang in $langs; do for lang in $langs; do
if test "$lang" = "$h_lang"; then if test "$lang" = "$h_lang"; then
DOC_LINGUAS="$DOC_LINGUAS $lang" DOC_LINGUAS="$DOC_LINGUAS $lang"
break break
fi fi
done done
done done
AC_SUBST(DOC_LINGUAS) AC_SUBST(DOC_LINGUAS)