New upstream version 2.3.4
This commit is contained in:
parent
e7bdd1c6c6
commit
de72f6f588
556 changed files with 90432 additions and 53391 deletions
|
@ -1,19 +1,19 @@
|
|||
# strerror.m4 serial 17
|
||||
dnl Copyright (C) 2002, 2007-2013 Free Software Foundation, Inc.
|
||||
# strerror.m4 serial 23
|
||||
dnl Copyright (C) 2002, 2007-2023 Free Software Foundation, Inc.
|
||||
dnl This file is free software; the Free Software Foundation
|
||||
dnl gives unlimited permission to copy and/or distribute it,
|
||||
dnl with or without modifications, as long as this notice is preserved.
|
||||
|
||||
AC_DEFUN([gl_FUNC_STRERROR],
|
||||
[
|
||||
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_STRING_H_DEFAULTS])
|
||||
AC_REQUIRE([gl_HEADER_ERRNO_H])
|
||||
AC_REQUIRE([gl_FUNC_STRERROR_0])
|
||||
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
|
||||
m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [
|
||||
AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS])
|
||||
])
|
||||
if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then
|
||||
if test "$GL_GENERATE_ERRNO_H:$REPLACE_STRERROR_0" = false:0; then
|
||||
AC_CACHE_CHECK([for working strerror function],
|
||||
[gl_cv_func_working_strerror],
|
||||
[AC_RUN_IFELSE(
|
||||
|
@ -24,10 +24,12 @@ AC_DEFUN([gl_FUNC_STRERROR],
|
|||
[gl_cv_func_working_strerror=yes],
|
||||
[gl_cv_func_working_strerror=no],
|
||||
[case "$host_os" in
|
||||
# Guess yes on glibc systems.
|
||||
*-gnu*) gl_cv_func_working_strerror="guessing yes" ;;
|
||||
# If we don't know, assume the worst.
|
||||
*) gl_cv_func_working_strerror="guessing no" ;;
|
||||
# Guess yes on glibc systems.
|
||||
*-gnu* | gnu*) gl_cv_func_working_strerror="guessing yes" ;;
|
||||
# Guess yes on musl systems.
|
||||
*-musl*) gl_cv_func_working_strerror="guessing yes" ;;
|
||||
# If we don't know, obey --enable-cross-guesses.
|
||||
*) gl_cv_func_working_strerror="$gl_cross_guess_normal" ;;
|
||||
esac
|
||||
])
|
||||
])
|
||||
|
@ -78,10 +80,14 @@ AC_DEFUN([gl_FUNC_STRERROR_0],
|
|||
[gl_cv_func_strerror_0_works=yes],
|
||||
[gl_cv_func_strerror_0_works=no],
|
||||
[case "$host_os" in
|
||||
# Guess yes on glibc systems.
|
||||
*-gnu*) gl_cv_func_strerror_0_works="guessing yes" ;;
|
||||
# If we don't know, assume the worst.
|
||||
*) gl_cv_func_strerror_0_works="guessing no" ;;
|
||||
# Guess yes on glibc systems.
|
||||
*-gnu* | gnu*) gl_cv_func_strerror_0_works="guessing yes" ;;
|
||||
# Guess yes on musl systems.
|
||||
*-musl*) gl_cv_func_strerror_0_works="guessing yes" ;;
|
||||
# Guess yes on native Windows.
|
||||
mingw*) gl_cv_func_strerror_0_works="guessing yes" ;;
|
||||
# If we don't know, obey --enable-cross-guesses.
|
||||
*) gl_cv_func_strerror_0_works="$gl_cross_guess_normal" ;;
|
||||
esac
|
||||
])
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue