mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Update from Gnulib by running admin/merge-gnulib
This commit is contained in:
parent
c0afab671c
commit
4a0919df7f
70 changed files with 179 additions and 183 deletions
4
build-aux/config.guess
vendored
4
build-aux/config.guess
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright 1992-2026 Free Software Foundation, Inc.
|
# Copyright 1992-2025 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||||
|
|
||||||
|
|
@ -60,7 +60,7 @@ version="\
|
||||||
GNU config.guess ($timestamp)
|
GNU config.guess ($timestamp)
|
||||||
|
|
||||||
Originally written by Per Bothner.
|
Originally written by Per Bothner.
|
||||||
Copyright 1992-2026 Free Software Foundation, Inc.
|
Copyright 1992-2025 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
This is free software; see the source for copying conditions. There is NO
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
|
|
|
||||||
4
build-aux/config.sub
vendored
4
build-aux/config.sub
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Configuration validation subroutine script.
|
# Configuration validation subroutine script.
|
||||||
# Copyright 1992-2026 Free Software Foundation, Inc.
|
# Copyright 1992-2025 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale
|
# shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale
|
||||||
|
|
||||||
|
|
@ -76,7 +76,7 @@ Report bugs and patches to <config-patches@gnu.org>."
|
||||||
version="\
|
version="\
|
||||||
GNU config.sub ($timestamp)
|
GNU config.sub ($timestamp)
|
||||||
|
|
||||||
Copyright 1992-2026 Free Software Foundation, Inc.
|
Copyright 1992-2025 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
This is free software; see the source for copying conditions. There is NO
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
%
|
%
|
||||||
\def\texinfoversion{2025-12-23.13}
|
\def\texinfoversion{2025-12-23.13}
|
||||||
%
|
%
|
||||||
% Copyright 1985--1986, 1988, 1990--2026 Free Software Foundation, Inc.
|
% Copyright 1985, 1986, 1988, 1990-2025 Free Software Foundation, Inc.
|
||||||
%
|
%
|
||||||
% This texinfo.tex file is free software: you can redistribute it and/or
|
% This texinfo.tex file is free software: you can redistribute it and/or
|
||||||
% modify it under the terms of the GNU General Public License as
|
% modify it under the terms of the GNU General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Memory allocation on the stack.
|
/* Memory allocation on the stack.
|
||||||
|
|
||||||
Copyright (C) 1995, 1999, 2001-2004, 2006-2026 Free Software
|
Copyright (C) 1995, 1999, 2001-2004, 2006-2026 Free Software Foundation,
|
||||||
Foundation, Inc.
|
Inc.
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* Binary mode I/O.
|
/* Binary mode I/O.
|
||||||
Copyright (C) 2001, 2003, 2005, 2008-2026 Free Software Foundation,
|
Copyright (C) 2001, 2003, 2005, 2008-2026 Free Software Foundation, Inc.
|
||||||
Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,7 @@
|
||||||
<ctype.h> functions' behaviour depends on the current locale set via
|
<ctype.h> functions' behaviour depends on the current locale set via
|
||||||
setlocale.
|
setlocale.
|
||||||
|
|
||||||
Copyright (C) 2000-2003, 2006, 2008-2026 Free Software Foundation,
|
Copyright (C) 2000-2003, 2006, 2008-2026 Free Software Foundation, Inc.
|
||||||
Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* c-strcasecmp.c -- case insensitive string comparator in C locale
|
/* c-strcasecmp.c -- case insensitive string comparator in C locale
|
||||||
Copyright (C) 1998-1999, 2005-2006, 2009-2026 Free Software
|
Copyright (C) 1998-1999, 2005-2006, 2009-2026 Free Software Foundation, Inc.
|
||||||
Foundation, Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* c-strncasecmp.c -- case insensitive string comparator in C locale
|
/* c-strncasecmp.c -- case insensitive string comparator in C locale
|
||||||
Copyright (C) 1998-1999, 2005-2006, 2009-2026 Free Software
|
Copyright (C) 1998-1999, 2005-2006, 2009-2026 Free Software Foundation, Inc.
|
||||||
Foundation, Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Read symbolic links into a buffer without size limitation, relative to fd.
|
/* Read symbolic links into a buffer without size limitation, relative to fd.
|
||||||
|
|
||||||
Copyright (C) 2001, 2003-2004, 2007, 2009-2026 Free Software
|
Copyright (C) 2001, 2003-2004, 2007, 2009-2026 Free Software Foundation,
|
||||||
Foundation, Inc.
|
Inc.
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
/* cloexec.c - set or clear the close-on-exec descriptor flag
|
/* cloexec.c - set or clear the close-on-exec descriptor flag
|
||||||
|
|
||||||
Copyright (C) 1991, 2004-2006, 2009-2026 Free Software Foundation,
|
Copyright (C) 1991, 2004-2006, 2009-2026 Free Software Foundation, Inc.
|
||||||
Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
/* Close a stream, with nicer error checking than fclose's.
|
/* Close a stream, with nicer error checking than fclose's.
|
||||||
|
|
||||||
Copyright (C) 1998-2002, 2004, 2006-2026 Free Software Foundation,
|
Copyright (C) 1998-2002, 2004, 2006-2026 Free Software Foundation, Inc.
|
||||||
Inc.
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Analyze differences between two vectors.
|
/* Analyze differences between two vectors.
|
||||||
|
|
||||||
Copyright (C) 1988-1989, 1992-1995, 2001-2004, 2006-2026 Free
|
Copyright (C) 1988-1989, 1992-1995, 2001-2004, 2006-2026 Free Software
|
||||||
Software Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
/* Duplicate an open file descriptor to a specified file descriptor.
|
/* Duplicate an open file descriptor to a specified file descriptor.
|
||||||
|
|
||||||
Copyright (C) 1999, 2004-2007, 2009-2026 Free Software Foundation,
|
Copyright (C) 1999, 2004-2007, 2009-2026 Free Software Foundation, Inc.
|
||||||
Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Make a string describing file modes.
|
/* Make a string describing file modes.
|
||||||
|
|
||||||
Copyright (C) 1998-1999, 2003, 2006, 2009-2026 Free Software
|
Copyright (C) 1998-1999, 2003, 2006, 2009-2026 Free Software Foundation,
|
||||||
Foundation, Inc.
|
Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* fpending.c -- return the number of pending output bytes on a stream
|
/* fpending.c -- return the number of pending output bytes on a stream
|
||||||
Copyright (C) 2000, 2004, 2006-2007, 2009-2026 Free Software
|
Copyright (C) 2000, 2004, 2006-2007, 2009-2026 Free Software Foundation,
|
||||||
Foundation, Inc.
|
Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Declare __fpending.
|
/* Declare __fpending.
|
||||||
|
|
||||||
Copyright (C) 2000, 2003, 2005-2006, 2009-2026 Free Software
|
Copyright (C) 2000, 2003, 2005-2006, 2009-2026 Free Software Foundation,
|
||||||
Foundation, Inc.
|
Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* fsusage.c -- return space usage of mounted file systems
|
/* fsusage.c -- return space usage of mounted file systems
|
||||||
|
|
||||||
Copyright (C) 1991-1992, 1996, 1998-1999, 2002-2006, 2009-2026 Free
|
Copyright (C) 1991-1992, 1996, 1998-1999, 2002-2006, 2009-2026 Free Software
|
||||||
Software Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,7 @@ getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp)
|
||||||
*lineptr = new_lineptr;
|
*lineptr = new_lineptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
size_t cur_len = 0;
|
size_t cur_len = 0;
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
|
|
@ -140,6 +141,7 @@ getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp)
|
||||||
}
|
}
|
||||||
(*lineptr)[cur_len] = '\0';
|
(*lineptr)[cur_len] = '\0';
|
||||||
result = cur_len ? cur_len : result;
|
result = cur_len ? cur_len : result;
|
||||||
|
}
|
||||||
|
|
||||||
unlock_return:
|
unlock_return:
|
||||||
funlockfile (fp); /* doesn't set errno */
|
funlockfile (fp); /* doesn't set errno */
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
/* provide consistent interface to getgroups for systems that don't allow N==0
|
/* provide consistent interface to getgroups for systems that don't allow N==0
|
||||||
|
|
||||||
Copyright (C) 1996, 1999, 2003, 2006-2026 Free Software Foundation,
|
Copyright (C) 1996, 1999, 2003, 2006-2026 Free Software Foundation, Inc.
|
||||||
Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Get the system load averages.
|
/* Get the system load averages.
|
||||||
|
|
||||||
Copyright (C) 1985-1989, 1991-1995, 1997, 1999-2000, 2003-2026 Free
|
Copyright (C) 1985-1989, 1991-1995, 1997, 1999-2000, 2003-2026 Free Software
|
||||||
Software Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
NOTE: The canonical source of this file is maintained with gnulib.
|
NOTE: The canonical source of this file is maintained with gnulib.
|
||||||
Bugs can be reported to bug-gnulib@gnu.org.
|
Bugs can be reported to bug-gnulib@gnu.org.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
/* gettime -- get the system clock
|
/* gettime -- get the system clock
|
||||||
|
|
||||||
Copyright (C) 2002, 2004-2007, 2009-2026 Free Software Foundation,
|
Copyright (C) 2002, 2004-2007, 2009-2026 Free Software Foundation, Inc.
|
||||||
Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
/* Provide gettimeofday for systems that don't have it or for which it's broken.
|
/* Provide gettimeofday for systems that don't have it or for which it's broken.
|
||||||
|
|
||||||
Copyright (C) 2001-2003, 2005-2007, 2009-2026 Free Software
|
Copyright (C) 2001-2003, 2005-2007, 2009-2026 Free Software Foundation, Inc.
|
||||||
Foundation, Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -951,6 +951,7 @@ HAVE_SYS_ENDIAN_H = @HAVE_SYS_ENDIAN_H@
|
||||||
HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
|
HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
|
||||||
HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@
|
HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@
|
||||||
HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@
|
HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@
|
||||||
|
HAVE_SYS_PROCESS_H = @HAVE_SYS_PROCESS_H@
|
||||||
HAVE_SYS_RANDOM_H = @HAVE_SYS_RANDOM_H@
|
HAVE_SYS_RANDOM_H = @HAVE_SYS_RANDOM_H@
|
||||||
HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@
|
HAVE_SYS_SELECT_H = @HAVE_SYS_SELECT_H@
|
||||||
HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@
|
HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@
|
||||||
|
|
@ -3644,6 +3645,7 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
|
||||||
-e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
|
-e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
|
||||||
-e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
|
-e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
|
||||||
-e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
|
-e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
|
||||||
|
-e 's|@''HAVE_SYS_PROCESS_H''@|$(HAVE_SYS_PROCESS_H)|g' \
|
||||||
-e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
|
-e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
|
||||||
-e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
|
-e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
|
||||||
< $@-t1 > $@-t2
|
< $@-t1 > $@-t2
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* group-member.c -- determine whether group id is in calling user's group list
|
/* group-member.c -- determine whether group id is in calling user's group list
|
||||||
|
|
||||||
Copyright (C) 1994, 1997-1998, 2003, 2005-2006, 2009-2026 Free
|
Copyright (C) 1994, 1997-1998, 2003, 2005-2006, 2009-2026 Free Software
|
||||||
Software Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
/* malloc() function that is glibc compatible.
|
/* malloc() function that is glibc compatible.
|
||||||
|
|
||||||
Copyright (C) 1997-1998, 2006-2007, 2009-2026 Free Software
|
Copyright (C) 1997-1998, 2006-2007, 2009-2026 Free Software Foundation, Inc.
|
||||||
Foundation, Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Functions to compute MD5 message digest of files or memory blocks.
|
/* Functions to compute MD5 message digest of files or memory blocks.
|
||||||
according to the definition of MD5 in RFC 1321 from April 1992.
|
according to the definition of MD5 in RFC 1321 from April 1992.
|
||||||
Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2026 Free
|
Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2026 Free Software
|
||||||
Software Foundation, Inc.
|
Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Functions to compute MD5 message digest of files or memory blocks.
|
/* Functions to compute MD5 message digest of files or memory blocks.
|
||||||
according to the definition of MD5 in RFC 1321 from April 1992.
|
according to the definition of MD5 in RFC 1321 from April 1992.
|
||||||
Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2026 Free
|
Copyright (C) 1995-1997, 1999-2001, 2005-2006, 2008-2026 Free Software
|
||||||
Software Foundation, Inc.
|
Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Declaration of functions and data types used for MD5 sum computing
|
/* Declaration of functions and data types used for MD5 sum computing
|
||||||
library functions.
|
library functions.
|
||||||
Copyright (C) 1995-1997, 1999-2001, 2004-2006, 2008-2026 Free
|
Copyright (C) 1995-1997, 1999-2001, 2004-2006, 2008-2026 Free Software
|
||||||
Software Foundation, Inc.
|
Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright (C) 1991-1994, 1996-1998, 2000, 2004, 2007-2026 Free
|
/* Copyright (C) 1991-1994, 1996-1998, 2000, 2004, 2007-2026 Free Software
|
||||||
Software Foundation, Inc.
|
Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* memrchr -- find the last occurrence of a byte in a memory block
|
/* memrchr -- find the last occurrence of a byte in a memory block
|
||||||
|
|
||||||
Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2026 Free
|
Copyright (C) 1991, 1993, 1996-1997, 1999-2000, 2003-2026 Free Software
|
||||||
Software Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
|
Based on strlen implementation by Torbjorn Granlund (tege@sics.se),
|
||||||
with help from Dan Sahlin (dan@sics.se) and
|
with help from Dan Sahlin (dan@sics.se) and
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
/* Provide a replacement for the POSIX nanosleep function.
|
/* Provide a replacement for the POSIX nanosleep function.
|
||||||
|
|
||||||
Copyright (C) 1999-2000, 2002, 2004-2026 Free Software Foundation,
|
Copyright (C) 1999-2000, 2002, 2004-2026 Free Software Foundation, Inc.
|
||||||
Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -405,7 +405,7 @@ get_cgroup2_cpu_quota (void)
|
||||||
if (! fp)
|
if (! fp)
|
||||||
return cpu_quota;
|
return cpu_quota;
|
||||||
|
|
||||||
/* Get our cgroupv2 (unififed) hierarchy. */
|
/* Get our cgroupv2 (unified) hierarchy. */
|
||||||
char *cgroup = NULL;
|
char *cgroup = NULL;
|
||||||
char *cgroup_str = NULL;
|
char *cgroup_str = NULL;
|
||||||
size_t cgroup_size = 0;
|
size_t cgroup_size = 0;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Save and restore current working directory.
|
/* Save and restore current working directory.
|
||||||
|
|
||||||
Copyright (C) 1995, 1997-1998, 2003, 2009-2026 Free Software
|
Copyright (C) 1995, 1997-1998, 2003, 2009-2026 Free Software Foundation,
|
||||||
Foundation, Inc.
|
Inc.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
/* sha1.c - Functions to compute SHA1 message digest of files or
|
/* sha1.c - Functions to compute SHA1 message digest of files or
|
||||||
memory blocks according to the NIST specification FIPS-180-1.
|
memory blocks according to the NIST specification FIPS-180-1.
|
||||||
|
|
||||||
Copyright (C) 2000-2001, 2003-2006, 2008-2026 Free Software
|
Copyright (C) 2000-2001, 2003-2006, 2008-2026 Free Software Foundation, Inc.
|
||||||
Foundation, Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
/* sig2str.c -- convert between signal names and numbers
|
/* sig2str.c -- convert between signal names and numbers
|
||||||
|
|
||||||
Copyright (C) 2002, 2004, 2006, 2009-2026 Free Software Foundation,
|
Copyright (C) 2002, 2004, 2006, 2009-2026 Free Software Foundation, Inc.
|
||||||
Inc.
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
These are like the standard macros introduced in C23, except that
|
These are like the standard macros introduced in C23, except that
|
||||||
arguments should not have side effects. The C++26 standard is
|
arguments should not have side effects. The C++26 standard is
|
||||||
expected to add this header and it's macros. */
|
expected to add this header and its macros. */
|
||||||
|
|
||||||
# define ckd_add(r, a, b) ((bool) _GL_INT_ADD_WRAPV (a, b, r))
|
# define ckd_add(r, a, b) ((bool) _GL_INT_ADD_WRAPV (a, b, r))
|
||||||
# define ckd_sub(r, a, b) ((bool) _GL_INT_SUBTRACT_WRAPV (a, b, r))
|
# define ckd_sub(r, a, b) ((bool) _GL_INT_SUBTRACT_WRAPV (a, b, r))
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
/* A GNU-like <stdlib.h>.
|
/* A GNU-like <stdlib.h>.
|
||||||
|
|
||||||
Copyright (C) 1995, 2001-2004, 2006-2026 Free Software Foundation,
|
Copyright (C) 1995, 2001-2004, 2006-2026 Free Software Foundation, Inc.
|
||||||
Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
@ -71,6 +70,11 @@
|
||||||
# include <sys/loadavg.h>
|
# include <sys/loadavg.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* QNX declares getprogname() in <sys/process.h>. */
|
||||||
|
#if (@GNULIB_GETPROGNAME@ || defined GNULIB_POSIXCHECK) && @HAVE_SYS_PROCESS_H@
|
||||||
|
# include <sys/process.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Native Windows platforms declare _mktemp() in <io.h>. */
|
/* Native Windows platforms declare _mktemp() in <io.h>. */
|
||||||
#if defined _WIN32 && !defined __CYGWIN__
|
#if defined _WIN32 && !defined __CYGWIN__
|
||||||
# include <io.h>
|
# include <io.h>
|
||||||
|
|
|
||||||
|
|
@ -316,7 +316,7 @@ typedef sbyte_count_t retval_t;
|
||||||
else if (to_uppcase) \
|
else if (to_uppcase) \
|
||||||
for (byte_count_t _i = 0; _i < _n; _i++) \
|
for (byte_count_t _i = 0; _i < _n; _i++) \
|
||||||
FPUTC (TOUPPER ((UCHAR_T) _s[_i], loc), p); \
|
FPUTC (TOUPPER ((UCHAR_T) _s[_i], loc), p); \
|
||||||
else if (fwrite (_s, _n, 1, p) == 0) \
|
else if (_n && fwrite (_s, _n, 1, p) == 0) \
|
||||||
return FAILURE; \
|
return FAILURE; \
|
||||||
} \
|
} \
|
||||||
while (0) \
|
while (0) \
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Convert string representation of a number into an intmax_t value.
|
/* Convert string representation of a number into an intmax_t value.
|
||||||
|
|
||||||
Copyright (C) 1999, 2001-2004, 2006, 2009-2026 Free Software
|
Copyright (C) 1999, 2001-2004, 2006, 2009-2026 Free Software Foundation,
|
||||||
Foundation, Inc.
|
Inc.
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
/* Convert string representation of a number into an integer value.
|
/* Convert string representation of a number into an integer value.
|
||||||
|
|
||||||
Copyright (C) 1991-1992, 1994-1999, 2003, 2005-2007, 2009-2026 Free
|
Copyright (C) 1991-1992, 1994-1999, 2003, 2005-2007, 2009-2026 Free Software
|
||||||
Software Foundation, Inc.
|
Foundation, Inc.
|
||||||
|
|
||||||
NOTE: The canonical source of this file is maintained with the GNU C
|
NOTE: The canonical source of this file is maintained with the GNU C
|
||||||
Library. Bugs can be reported to bug-glibc@gnu.org.
|
Library. Bugs can be reported to bug-glibc@gnu.org.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* Function to parse a 'long long int' from text.
|
/* Function to parse a 'long long int' from text.
|
||||||
Copyright (C) 1995-1997, 1999, 2001, 2009-2026 Free Software
|
Copyright (C) 1995-1997, 1999, 2001, 2009-2026 Free Software Foundation,
|
||||||
Foundation, Inc.
|
Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
/* Reentrant time functions like localtime_r.
|
/* Reentrant time functions like localtime_r.
|
||||||
|
|
||||||
Copyright (C) 2003, 2006-2007, 2010-2026 Free Software Foundation,
|
Copyright (C) 2003, 2006-2007, 2010-2026 Free Software Foundation, Inc.
|
||||||
Inc.
|
|
||||||
|
|
||||||
This file is free software: you can redistribute it and/or modify
|
This file is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU Lesser General Public License as
|
it under the terms of the GNU Lesser General Public License as
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# alloca.m4
|
# alloca.m4
|
||||||
# serial 21
|
# serial 21
|
||||||
dnl Copyright (C) 2002-2004, 2006-2007, 2009-2026 Free Software
|
dnl Copyright (C) 2002-2004, 2006-2007, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# codeset.m4
|
# codeset.m4
|
||||||
# serial 5 (gettext-0.18.2)
|
# serial 5 (gettext-0.18.2)
|
||||||
dnl Copyright (C) 2000-2002, 2006, 2008-2014, 2016, 2019-2026 Free
|
dnl Copyright (C) 2000-2002, 2006, 2008-2014, 2016, 2019-2026 Free Software
|
||||||
dnl Software Foundation, Inc.
|
dnl Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# d-type.m4
|
# d-type.m4
|
||||||
# serial 12
|
# serial 12
|
||||||
dnl Copyright (C) 1997, 1999-2004, 2006, 2009-2026 Free Software
|
dnl Copyright (C) 1997, 1999-2004, 2006, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
# dup2.m4
|
# dup2.m4
|
||||||
# serial 28
|
# serial 28
|
||||||
dnl Copyright (C) 2002, 2005, 2007, 2009-2026 Free Software Foundation,
|
dnl Copyright (C) 2002, 2005, 2007, 2009-2026 Free Software Foundation, Inc.
|
||||||
dnl Inc.
|
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
# filemode.m4
|
# filemode.m4
|
||||||
# serial 9
|
# serial 9
|
||||||
dnl Copyright (C) 2002, 2005-2006, 2009-2026 Free Software Foundation,
|
dnl Copyright (C) 2002, 2005-2006, 2009-2026 Free Software Foundation, Inc.
|
||||||
dnl Inc.
|
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# fsusage.m4
|
# fsusage.m4
|
||||||
# serial 37
|
# serial 37
|
||||||
dnl Copyright (C) 1997-1998, 2000-2001, 2003-2026 Free Software
|
dnl Copyright (C) 1997-1998, 2000-2001, 2003-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# getgroups.m4
|
# getgroups.m4
|
||||||
# serial 25
|
# serial 25
|
||||||
dnl Copyright (C) 1996-1997, 1999-2004, 2008-2026 Free Software
|
dnl Copyright (C) 1996-1997, 1999-2004, 2008-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
# getline.m4
|
# getline.m4
|
||||||
# serial 35
|
# serial 35
|
||||||
|
|
||||||
dnl Copyright (C) 1998-2003, 2005-2007, 2009-2026 Free Software
|
dnl Copyright (C) 1998-2003, 2005-2007, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl
|
dnl
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
# gettime.m4
|
# gettime.m4
|
||||||
# serial 15
|
# serial 15
|
||||||
dnl Copyright (C) 2002, 2004-2006, 2009-2026 Free Software Foundation,
|
dnl Copyright (C) 2002, 2004-2006, 2009-2026 Free Software Foundation, Inc.
|
||||||
dnl Inc.
|
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# gettimeofday.m4
|
# gettimeofday.m4
|
||||||
# serial 30
|
# serial 30
|
||||||
dnl Copyright (C) 2001-2003, 2005, 2007, 2009-2026 Free Software
|
dnl Copyright (C) 2001-2003, 2005, 2007, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# group-member.m4
|
# group-member.m4
|
||||||
# serial 14
|
# serial 14
|
||||||
dnl Copyright (C) 1999-2001, 2003-2007, 2009-2026 Free Software
|
dnl Copyright (C) 1999-2001, 2003-2007, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ AC_DEFUN_ONCE([gt_LOCALE_EN_UTF8],
|
||||||
*-musl* | midipix*)
|
*-musl* | midipix*)
|
||||||
dnl On musl libc, all kinds of ll_CC.UTF-8 locales exist, even without
|
dnl On musl libc, all kinds of ll_CC.UTF-8 locales exist, even without
|
||||||
dnl any locale file on disk. But they are effectively equivalent to the
|
dnl any locale file on disk. But they are effectively equivalent to the
|
||||||
dnl C.UTF-8 locale, except for locale categories (such as LC_MESSSAGES)
|
dnl C.UTF-8 locale, except for locale categories (such as LC_MESSAGES)
|
||||||
dnl for which localizations (.mo files) have been installed.
|
dnl for which localizations (.mo files) have been installed.
|
||||||
gt_cv_locale_en_utf8=en_US.UTF-8
|
gt_cv_locale_en_utf8=en_US.UTF-8
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# manywarnings.m4
|
# manywarnings.m4
|
||||||
# serial 29
|
# serial 32
|
||||||
dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
|
dnl Copyright (C) 2008-2026 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -110,8 +110,8 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC(C)],
|
||||||
-Wduplicated-branches \
|
-Wduplicated-branches \
|
||||||
-Wduplicated-cond \
|
-Wduplicated-cond \
|
||||||
-Wextra \
|
-Wextra \
|
||||||
-Wformat-signedness \
|
|
||||||
-Wflex-array-member-not-at-end \
|
-Wflex-array-member-not-at-end \
|
||||||
|
-Wformat-signedness \
|
||||||
-Winit-self \
|
-Winit-self \
|
||||||
-Winline \
|
-Winline \
|
||||||
-Winvalid-pch \
|
-Winvalid-pch \
|
||||||
|
|
@ -138,8 +138,6 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC(C)],
|
||||||
-Wsuggest-attribute=malloc \
|
-Wsuggest-attribute=malloc \
|
||||||
-Wsuggest-attribute=noreturn \
|
-Wsuggest-attribute=noreturn \
|
||||||
-Wsuggest-attribute=pure \
|
-Wsuggest-attribute=pure \
|
||||||
-Wsuggest-final-methods \
|
|
||||||
-Wsuggest-final-types \
|
|
||||||
-Wsync-nand \
|
-Wsync-nand \
|
||||||
-Wtrampolines \
|
-Wtrampolines \
|
||||||
-Wuninitialized \
|
-Wuninitialized \
|
||||||
|
|
@ -150,7 +148,6 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC(C)],
|
||||||
-Wvector-operation-performance \
|
-Wvector-operation-performance \
|
||||||
-Wvla \
|
-Wvla \
|
||||||
-Wwrite-strings \
|
-Wwrite-strings \
|
||||||
\
|
|
||||||
; do
|
; do
|
||||||
AS_VAR_APPEND([$1], [" $gl_manywarn_item"])
|
AS_VAR_APPEND([$1], [" $gl_manywarn_item"])
|
||||||
done
|
done
|
||||||
|
|
@ -169,20 +166,29 @@ AC_DEFUN([gl_MANYWARN_ALL_GCC(C)],
|
||||||
AS_VAR_APPEND([$1], [' -Wunused-const-variable=2'])
|
AS_VAR_APPEND([$1], [' -Wunused-const-variable=2'])
|
||||||
AS_VAR_APPEND([$1], [' -Wvla-larger-than=4031'])
|
AS_VAR_APPEND([$1], [' -Wvla-larger-than=4031'])
|
||||||
|
|
||||||
# These are needed for older GCC versions.
|
# These depend on the GCC version.
|
||||||
if test -n "$GCC" && gl_gcc_version=`($CC --version) 2>/dev/null`; then
|
if test -n "$GCC" && gl_gcc_version=`($CC --version) 2>/dev/null`; then
|
||||||
case $gl_gcc_version in
|
case $gl_gcc_version in
|
||||||
'gcc (GCC) '[[0-3]].* | \
|
gcc*' ('*') '[[0-3]].* | \
|
||||||
'gcc (GCC) '4.[[0-7]].*)
|
gcc*' ('*') '4.[[0-7]].*)
|
||||||
AS_VAR_APPEND([$1], [' -fdiagnostics-show-option'])
|
AS_VAR_APPEND([$1], [' -fdiagnostics-show-option'])
|
||||||
AS_VAR_APPEND([$1], [' -funit-at-a-time'])
|
AS_VAR_APPEND([$1], [' -funit-at-a-time'])
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
case $gl_gcc_version in
|
case $gl_gcc_version in
|
||||||
'gcc (GCC) '[[0-9]].*)
|
gcc*' ('*') '[[0-9]].*)
|
||||||
AS_VAR_APPEND([$1], [' -fno-common'])
|
AS_VAR_APPEND([$1], [' -fno-common'])
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
case $gl_gcc_version in
|
||||||
|
gcc*' ('*') '?.* | gcc*' ('*') '1[[0-4]].*)
|
||||||
|
# In GCC < 15 the option either does not exist,
|
||||||
|
# or is accepted but always warns.
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
AS_VAR_APPEND([$1], [' -Wzero-as-null-pointer-constant'])
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# These options are not supported by gcc, but are useful with clang.
|
# These options are not supported by gcc, but are useful with clang.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# mempcpy.m4
|
# mempcpy.m4
|
||||||
# serial 14
|
# serial 14
|
||||||
dnl Copyright (C) 2003-2004, 2006-2007, 2009-2026 Free Software
|
dnl Copyright (C) 2003-2004, 2006-2007, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# memrchr.m4
|
# memrchr.m4
|
||||||
# serial 11
|
# serial 11
|
||||||
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2026 Free Software
|
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# mktime.m4
|
# mktime.m4
|
||||||
# serial 43
|
# serial 43
|
||||||
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2026 Free Software
|
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# nstrftime.m4
|
# nstrftime.m4
|
||||||
# serial 40
|
# serial 40
|
||||||
dnl Copyright (C) 1996-1997, 1999-2007, 2009-2026 Free Software
|
dnl Copyright (C) 1996-1997, 1999-2007, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# pathmax.m4
|
# pathmax.m4
|
||||||
# serial 11
|
# serial 11
|
||||||
dnl Copyright (C) 2002-2003, 2005-2006, 2009-2026 Free Software
|
dnl Copyright (C) 2002-2003, 2005-2006, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -88,10 +88,13 @@ AC_DEFUN([gl_LIBSELINUX],
|
||||||
|
|
||||||
# Warn if SELinux is found but libselinux is absent;
|
# Warn if SELinux is found but libselinux is absent;
|
||||||
if test "$ac_cv_search_setfilecon" = no; then
|
if test "$ac_cv_search_setfilecon" = no; then
|
||||||
if test "$host" = "$build" && test -d /selinux; then
|
if test "$host" = "$build" \
|
||||||
|
&& { test -d /sys/fs/selinux || test -d /selinux; }; then
|
||||||
AC_MSG_WARN([This system supports SELinux but libselinux is missing.])
|
AC_MSG_WARN([This system supports SELinux but libselinux is missing.])
|
||||||
AC_MSG_WARN([AC_PACKAGE_NAME will be compiled without SELinux support.])
|
AC_MSG_WARN([AC_PACKAGE_NAME will be compiled without SELinux support.])
|
||||||
fi
|
fi
|
||||||
|
if test "$with_selinux" = maybe; then
|
||||||
with_selinux=no
|
with_selinux=no
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
])
|
])
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
# sig2str.m4
|
# sig2str.m4
|
||||||
# serial 9
|
# serial 9
|
||||||
dnl Copyright (C) 2002, 2005-2006, 2009-2026 Free Software Foundation,
|
dnl Copyright (C) 2002, 2005-2006, 2009-2026 Free Software Foundation, Inc.
|
||||||
dnl Inc.
|
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
# ssize_t.m4
|
# ssize_t.m4
|
||||||
# serial 6
|
# serial 6
|
||||||
dnl Copyright (C) 2001-2003, 2006, 2010-2026 Free Software Foundation,
|
dnl Copyright (C) 2001-2003, 2006, 2010-2026 Free Software Foundation, Inc.
|
||||||
dnl Inc.
|
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# stat-time.m4
|
# stat-time.m4
|
||||||
# serial 1
|
# serial 1
|
||||||
dnl Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2026 Free
|
dnl Copyright (C) 1998-1999, 2001, 2003, 2005-2007, 2009-2026 Free Software
|
||||||
dnl Software Foundation, Inc.
|
dnl Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# stdlib_h.m4
|
# stdlib_h.m4
|
||||||
# serial 85
|
# serial 86
|
||||||
dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
|
dnl Copyright (C) 2007-2026 Free Software Foundation, Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
|
|
@ -223,6 +223,7 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS],
|
||||||
HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL])
|
HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL])
|
||||||
HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA])
|
HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA])
|
||||||
HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H])
|
HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H])
|
||||||
|
HAVE_SYS_PROCESS_H=0; AC_SUBST([HAVE_SYS_PROCESS_H])
|
||||||
HAVE_UNLOCKPT=1; AC_SUBST([HAVE_UNLOCKPT])
|
HAVE_UNLOCKPT=1; AC_SUBST([HAVE_UNLOCKPT])
|
||||||
HAVE_DECL_UNSETENV=1; AC_SUBST([HAVE_DECL_UNSETENV])
|
HAVE_DECL_UNSETENV=1; AC_SUBST([HAVE_DECL_UNSETENV])
|
||||||
REPLACE__EXIT=0; AC_SUBST([REPLACE__EXIT])
|
REPLACE__EXIT=0; AC_SUBST([REPLACE__EXIT])
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# strnlen.m4
|
# strnlen.m4
|
||||||
# serial 15
|
# serial 15
|
||||||
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2026 Free Software
|
dnl Copyright (C) 2002-2003, 2005-2007, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
# strtoimax.m4
|
# strtoimax.m4
|
||||||
# serial 17
|
# serial 17
|
||||||
dnl Copyright (C) 2002-2004, 2006, 2009-2026 Free Software Foundation,
|
dnl Copyright (C) 2002-2004, 2006, 2009-2026 Free Software Foundation, Inc.
|
||||||
dnl Inc.
|
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
# strtoll.m4
|
# strtoll.m4
|
||||||
# serial 12
|
# serial 12
|
||||||
dnl Copyright (C) 2002, 2004, 2006, 2008-2026 Free Software Foundation,
|
dnl Copyright (C) 2002, 2004, 2006, 2008-2026 Free Software Foundation, Inc.
|
||||||
dnl Inc.
|
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# time_h.m4
|
# time_h.m4
|
||||||
# serial 27
|
# serial 27
|
||||||
dnl Copyright (C) 2000-2001, 2003-2007, 2009-2026 Free Software
|
dnl Copyright (C) 2000-2001, 2003-2007, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# timespec.m4
|
# timespec.m4
|
||||||
# serial 15
|
# serial 15
|
||||||
dnl Copyright (C) 2000-2001, 2003-2007, 2009-2026 Free Software
|
dnl Copyright (C) 2000-2001, 2003-2007, 2009-2026 Free Software Foundation,
|
||||||
dnl Foundation, Inc.
|
dnl Inc.
|
||||||
dnl This file is free software; the Free Software Foundation
|
dnl This file is free software; the Free Software Foundation
|
||||||
dnl gives unlimited permission to copy and/or distribute it,
|
dnl gives unlimited permission to copy and/or distribute it,
|
||||||
dnl with or without modifications, as long as this notice is preserved.
|
dnl with or without modifications, as long as this notice is preserved.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue