mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-03 19:12:42 +03:00
.
This commit is contained in:
33
aclocal.m4
vendored
33
aclocal.m4
vendored
@@ -2811,9 +2811,7 @@ AC_DEFUN([jm_FUNC_NANOSLEEP],
|
||||
LIBS=$nanosleep_save_libs
|
||||
])
|
||||
|
||||
dnl This file is automatically generated from jm-glibc-io.m4n.
|
||||
|
||||
#serial 6 -*- autoconf -*-
|
||||
#serial 7 -*- autoconf -*-
|
||||
|
||||
dnl From Jim Meyering.
|
||||
dnl
|
||||
@@ -2822,30 +2820,11 @@ dnl Use only those *_unlocked macros that are declared.
|
||||
dnl
|
||||
|
||||
AC_DEFUN([jm_FUNC_GLIBC_UNLOCKED_IO],
|
||||
[
|
||||
# Kludge (not executed) to make autoheader do the right thing.
|
||||
if test a = b; then
|
||||
AC_CHECK_DECLS([clearerr_unlocked,feof_unlocked,ferror_unlocked,fflush_unlocked,fgets_unlocked,fputc_unlocked,fputs_unlocked,fread_unlocked,fwrite_unlocked,getc_unlocked,getchar_unlocked,putc_unlocked,putchar_unlocked])
|
||||
AC_CHECK_FUNCS(clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgets_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getc_unlocked getchar_unlocked putc_unlocked putchar_unlocked)
|
||||
fi
|
||||
|
||||
io_functions='clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgets_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getc_unlocked getchar_unlocked putc_unlocked putchar_unlocked'
|
||||
|
||||
for jm_io_func in $io_functions; do
|
||||
# Check for the existence of each function only if it is declared.
|
||||
# Otherwise, we'd get the Solaris5.5.1 functions that are not
|
||||
# declared, and that have been removed from Solaris5.6. The resulting
|
||||
# 5.5.1 binaries would not run on 5.6 due to shared library differences.
|
||||
AC_CHECK_DECLS([$jm_io_func],
|
||||
jm_declared=yes,
|
||||
jm_declared=no,
|
||||
[#include <stdio.h>])
|
||||
if test $jm_declared = yes; then
|
||||
AC_CHECK_FUNCS($jm_io_func)
|
||||
fi
|
||||
done
|
||||
]
|
||||
)
|
||||
[AC_CHECK_DECLS(
|
||||
[clearerr_unlocked, feof_unlocked, ferror_unlocked,
|
||||
fflush_unlocked, fgets_unlocked, fputc_unlocked, fputs_unlocked,
|
||||
fread_unlocked, fwrite_unlocked, getc_unlocked,
|
||||
getchar_unlocked, putc_unlocked, putchar_unlocked])])
|
||||
|
||||
#serial 3
|
||||
|
||||
|
||||
39
config.hin
39
config.hin
@@ -120,9 +120,6 @@
|
||||
/* Define to 1 if you have the `chsize' function. */
|
||||
#undef HAVE_CHSIZE
|
||||
|
||||
/* Define to 1 if you have the `clearerr_unlocked' function. */
|
||||
#undef HAVE_CLEARERR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the `clock_gettime' function. */
|
||||
#undef HAVE_CLOCK_GETTIME
|
||||
|
||||
@@ -365,36 +362,15 @@
|
||||
/* Define to 1 if you have the `fdatasync' function. */
|
||||
#undef HAVE_FDATASYNC
|
||||
|
||||
/* Define to 1 if you have the `feof_unlocked' function. */
|
||||
#undef HAVE_FEOF_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the `ferror_unlocked' function. */
|
||||
#undef HAVE_FERROR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the `fesetround' function. */
|
||||
#undef HAVE_FESETROUND
|
||||
|
||||
/* Define to 1 if you have the `fflush_unlocked' function. */
|
||||
#undef HAVE_FFLUSH_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the `fgets_unlocked' function. */
|
||||
#undef HAVE_FGETS_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the <float.h> header file. */
|
||||
#undef HAVE_FLOAT_H
|
||||
|
||||
/* Define to 1 if you have the `floor' function. */
|
||||
#undef HAVE_FLOOR
|
||||
|
||||
/* Define to 1 if you have the `fputc_unlocked' function. */
|
||||
#undef HAVE_FPUTC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the `fputs_unlocked' function. */
|
||||
#undef HAVE_FPUTS_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the `fread_unlocked' function. */
|
||||
#undef HAVE_FREAD_UNLOCKED
|
||||
|
||||
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
|
||||
#undef HAVE_FSEEKO
|
||||
|
||||
@@ -410,15 +386,9 @@
|
||||
/* Define to 1 if you have the `ftruncate' function. */
|
||||
#undef HAVE_FTRUNCATE
|
||||
|
||||
/* Define to 1 if you have the `fwrite_unlocked' function. */
|
||||
#undef HAVE_FWRITE_UNLOCKED
|
||||
|
||||
/* Define if struct statfs has the f_fstypename member. */
|
||||
#undef HAVE_F_FSTYPENAME_IN_STATFS
|
||||
|
||||
/* Define to 1 if you have the `getchar_unlocked' function. */
|
||||
#undef HAVE_GETCHAR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the `getcontext' function. */
|
||||
#undef HAVE_GETCONTEXT
|
||||
|
||||
@@ -428,9 +398,6 @@
|
||||
/* Define if getcwd (NULL, 0) allocates memory for result. */
|
||||
#undef HAVE_GETCWD_NULL
|
||||
|
||||
/* Define to 1 if you have the `getc_unlocked' function. */
|
||||
#undef HAVE_GETC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the `getdelim' function. */
|
||||
#undef HAVE_GETDELIM
|
||||
|
||||
@@ -666,12 +633,6 @@
|
||||
/* Define to 1 if you have the `pstat_getstatic' function. */
|
||||
#undef HAVE_PSTAT_GETSTATIC
|
||||
|
||||
/* Define to 1 if you have the `putchar_unlocked' function. */
|
||||
#undef HAVE_PUTCHAR_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the `putc_unlocked' function. */
|
||||
#undef HAVE_PUTC_UNLOCKED
|
||||
|
||||
/* Define to 1 if you have the <pwd.h> header file. */
|
||||
#undef HAVE_PWD_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user