"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "m4/stat.m4" between
le-1.16.5.tar.gz and le-1.16.6.tar.gz

About: le is a terminal text editor (many block operations with stream and rectangular blocks, tunable syntax highlighting, etc.).

stat.m4  (le-1.16.5):stat.m4  (le-1.16.6)
# serial 12 # serial 15
# Copyright (C) 2009-2017 Free Software Foundation, Inc. # Copyright (C) 2009-2019 Free Software Foundation, Inc.
# #
# This file is free software; the Free Software Foundation # This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it, # gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved. # with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_STAT], AC_DEFUN([gl_FUNC_STAT],
[ [
AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_CANONICAL_HOST])
AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS])
AC_CHECK_FUNCS_ONCE([lstat]) AC_CHECK_FUNCS_ONCE([lstat])
skipping to change at line 46 skipping to change at line 46
if (!stat ("conftest.tmp/", &st)) if (!stat ("conftest.tmp/", &st))
result |= 1; result |= 1;
#if HAVE_LSTAT #if HAVE_LSTAT
if (!stat ("conftest.lnk/", &st)) if (!stat ("conftest.lnk/", &st))
result |= 2; result |= 2;
#endif #endif
return result; return result;
]])], ]])],
[gl_cv_func_stat_file_slash=yes], [gl_cv_func_stat_file_slash=no], [gl_cv_func_stat_file_slash=yes], [gl_cv_func_stat_file_slash=no],
[case "$host_os" in [case "$host_os" in
# Guess yes on glibc systems. # Guess yes on Linux systems.
*-gnu*) gl_cv_func_stat_file_slash="guessing yes" ;; linux-* | linux) gl_cv_func_stat_file_slash="guessing yes" ;;
# If we don't know, assume the worst. # Guess yes on glibc systems.
*) gl_cv_func_stat_file_slash="guessing no" ;; *-gnu* | gnu*) gl_cv_func_stat_file_slash="guessing yes" ;;
# If we don't know, assume the worst.
*) gl_cv_func_stat_file_slash="guessing no" ;;
esac esac
]) ])
rm -f conftest.tmp conftest.lnk]) rm -f conftest.tmp conftest.lnk])
case $gl_cv_func_stat_file_slash in case $gl_cv_func_stat_file_slash in
*no) *no)
REPLACE_STAT=1 REPLACE_STAT=1
AC_DEFINE([REPLACE_FUNC_STAT_FILE], [1], [Define to 1 if stat needs AC_DEFINE([REPLACE_FUNC_STAT_FILE], [1], [Define to 1 if stat needs
help when passed a file name with a trailing slash]);; help when passed a file name with a trailing slash]);;
esac esac
case $host_os in
dnl Solaris stat can return a negative tv_nsec.
solaris*)
REPLACE_FSTAT=1 ;;
esac
;; ;;
esac esac
]) ])
# Prerequisites of lib/stat.c and lib/stat-w32.c. # Prerequisites of lib/stat.c and lib/stat-w32.c.
AC_DEFUN([gl_PREREQ_STAT], [ AC_DEFUN([gl_PREREQ_STAT], [
AC_REQUIRE([gl_HEADER_SYS_STAT_H]) AC_REQUIRE([gl_HEADER_SYS_STAT_H])
: :
]) ])
 End of changes. 4 change blocks. 
6 lines changed or deleted 13 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)