yggdrasil/ports/gnu-gzip/patches/1.13/0001-gzip-1.13-add-yggdrasil-support.patch

2135 lines
78 KiB
Diff
Raw Permalink Normal View History

2025-03-09 01:02:15 +02:00
diff -x '*.o' -crB gzip-1.13-orig/aclocal.m4 gzip-1.13/aclocal.m4
*** gzip-1.13-orig/aclocal.m4 2023-08-20 02:32:46.000000000 +0300
--- gzip-1.13/aclocal.m4 2025-03-08 22:10:53.846464247 +0200
***************
*** 1,6 ****
! # generated automatically by aclocal 1.16i -*- Autoconf -*-
! # Copyright (C) 1996-2023 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1,6 ----
! # generated automatically by aclocal 1.17 -*- Autoconf -*-
! # Copyright (C) 1996-2024 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 14,30 ****
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
! m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.72c.32-cb6fb],,
! [m4_warning([this file was generated for autoconf 2.72c.32-cb6fb.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
! # po.m4 serial 32 (gettext-0.21.1)
! dnl Copyright (C) 1995-2014, 2016, 2018-2022 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.
dnl
dnl This file can be used in projects which are not available under
dnl the GNU General Public License or the GNU Lesser General Public
--- 14,32 ----
m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
! m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.72],,
! [m4_warning([this file was generated for autoconf 2.72.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically 'autoreconf'.])])
! # po.m4
! # serial 34 (gettext-0.24)
! dnl Copyright (C) 1995-2024 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.
+ dnl This file is offered as-is, without any warranty.
dnl
dnl This file can be used in projects which are not available under
dnl the GNU General Public License or the GNU Lesser General Public
***************
*** 37,43 ****
dnl Authors:
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
! dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
AC_PREREQ([2.60])
--- 39,45 ----
dnl Authors:
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
! dnl Bruno Haible <bruno@clisp.org>, 2000-2024.
AC_PREREQ([2.60])
***************
*** 52,58 ****
dnl Release version of the gettext macros. This is used to ensure that
dnl the gettext macros and po/Makefile.in.in are in sync.
! AC_SUBST([GETTEXT_MACRO_VERSION], [0.20])
dnl Perform the following tests also if --disable-nls has been given,
dnl because they are needed for "make dist" to work.
--- 54,60 ----
dnl Release version of the gettext macros. This is used to ensure that
dnl the gettext macros and po/Makefile.in.in are in sync.
! AC_SUBST([GETTEXT_MACRO_VERSION], [0.24])
dnl Perform the following tests also if --disable-nls has been given,
dnl because they are needed for "make dist" to work.
***************
*** 118,123 ****
--- 120,135 ----
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
+ if test -n "$ALL_LINGUAS"; then
+ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
+ fi
+
+ dnl Capture the value of LINGUAS because we need it to compute CATALOGS.
+ dnl In the Makefile, call it DESIRED_LINGUAS (because there, LINGUAS denotes
+ dnl the set of available translations, given by the developer).
+ DESIRED_LINGUAS="${LINGUAS-\$(ALL_LINGUAS)}"
+ AC_SUBST([DESIRED_LINGUAS])
+
AC_CONFIG_COMMANDS([po-directories], [[
for ac_file in $CONFIG_FILES; do
# Support "outfile[:infile[:infile...]]"
***************
*** 133,464 ****
# In autoconf-2.13 it is called $ac_given_srcdir.
# In autoconf-2.50 it is called $srcdir.
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
- case "$ac_given_srcdir" in
- .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
- /*) top_srcdir="$ac_given_srcdir" ;;
- *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
- esac
# Treat a directory as a PO directory if and only if it has a
# POTFILES.in file. This allows packages to have multiple PO
# directories under different names or in different locations.
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
- rm -f "$ac_dir/POTFILES"
- test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
- gt_tab=`printf '\t'`
- cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
- POMAKEFILEDEPS="POTFILES.in"
- # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
- # on $ac_dir but don't depend on user-specified configuration
- # parameters.
- if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
- # The LINGUAS file contains the set of available languages.
- if test -n "$OBSOLETE_ALL_LINGUAS"; then
- test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
- fi
- ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
- POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
- else
- # The set of available languages was given in configure.in.
- ALL_LINGUAS=$OBSOLETE_ALL_LINGUAS
- fi
- # Compute POFILES
- # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
- # Compute UPDATEPOFILES
- # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
- # Compute DUMMYPOFILES
- # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
- # Compute GMOFILES
- # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
- case "$ac_given_srcdir" in
- .) srcdirpre= ;;
- *) srcdirpre='$(srcdir)/' ;;
- esac
- POFILES=
- UPDATEPOFILES=
- DUMMYPOFILES=
- GMOFILES=
- for lang in $ALL_LINGUAS; do
- POFILES="$POFILES $srcdirpre$lang.po"
- UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
- DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
- GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
- done
- # CATALOGS depends on both $ac_dir and the user's LINGUAS
- # environment variable.
- INST_LINGUAS=
- if test -n "$ALL_LINGUAS"; then
- for presentlang in $ALL_LINGUAS; do
- useit=no
- if test "%UNSET%" != "$LINGUAS"; then
- desiredlanguages="$LINGUAS"
- else
- desiredlanguages="$ALL_LINGUAS"
- fi
- for desiredlang in $desiredlanguages; do
- # Use the presentlang catalog if desiredlang is
- # a. equal to presentlang, or
- # b. a variant of presentlang (because in this case,
- # presentlang can be used as a fallback for messages
- # which are not translated in the desiredlang catalog).
- case "$desiredlang" in
- "$presentlang" | "$presentlang"_* | "$presentlang".* | "$presentlang"@*)
- useit=yes
- ;;
- esac
- done
- if test $useit = yes; then
- INST_LINGUAS="$INST_LINGUAS $presentlang"
- fi
- done
- fi
- CATALOGS=
- if test -n "$INST_LINGUAS"; then
- for lang in $INST_LINGUAS; do
- CATALOGS="$CATALOGS $lang.gmo"
- done
- fi
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
! sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
! for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
! if test -f "$f"; then
! case "$f" in
! *.orig | *.bak | *~) ;;
! *) cat "$f" >> "$ac_dir/Makefile" ;;
! esac
! fi
! done
fi
;;
esac
done]],
! [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
! # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS.
! OBSOLETE_ALL_LINGUAS="$ALL_LINGUAS"
! # Capture the value of LINGUAS because we need it to compute CATALOGS.
! LINGUAS="${LINGUAS-%UNSET%}"
! ])
])
dnl Postprocesses a Makefile in a directory containing PO files.
AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
[
! # When this code is run, in config.status, two variables have already been
! # set:
! # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in,
! # - LINGUAS is the value of the environment variable LINGUAS at configure
! # time.
!
! changequote(,)dnl
! # Adjust a relative srcdir.
! ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
! ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
! ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
! # In autoconf-2.13 it is called $ac_given_srcdir.
! # In autoconf-2.50 it is called $srcdir.
! test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
! case "$ac_given_srcdir" in
! .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
! /*) top_srcdir="$ac_given_srcdir" ;;
! *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
! esac
!
! # Find a way to echo strings without interpreting backslash.
! if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then
! gt_echo='echo'
! else
! if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then
! gt_echo='printf %s\n'
! else
! echo_func () {
! cat <<EOT
! $*
! EOT
! }
! gt_echo='echo_func'
! fi
! fi
!
! # A sed script that extracts the value of VARIABLE from a Makefile.
! tab=`printf '\t'`
! sed_x_variable='
! # Test if the hold space is empty.
! x
! s/P/P/
! x
! ta
! # Yes it was empty. Look if we have the expected variable definition.
! /^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
! # Seen the first line of the variable definition.
! s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
! ba
! }
! bd
! :a
! # Here we are processing a line from the variable definition.
! # Remove comment, more precisely replace it with a space.
! s/#.*$/ /
! # See if the line ends in a backslash.
! tb
! :b
! s/\\$//
! # Print the line, without the trailing backslash.
! p
! tc
! # There was no trailing backslash. The end of the variable definition is
! # reached. Clear the hold space.
! s/^.*$//
! x
! bd
! :c
! # A trailing backslash means that the variable definition continues in the
! # next line. Put a nonempty string into the hold space to indicate this.
! s/^.*$/P/
! x
! :d
! '
! changequote([,])dnl
!
! # Set POTFILES to the value of the Makefile variable POTFILES.
! sed_x_POTFILES=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/POTFILES/g'`
! POTFILES=`sed -n -e "$sed_x_POTFILES" < "$ac_file"`
! # Compute POTFILES_DEPS as
! # $(foreach file, $(POTFILES), $(top_srcdir)/$(file))
! POTFILES_DEPS=
! for file in $POTFILES; do
! POTFILES_DEPS="$POTFILES_DEPS "'$(top_srcdir)/'"$file"
! done
! POMAKEFILEDEPS=""
!
! if test -n "$OBSOLETE_ALL_LINGUAS"; then
! test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
! fi
! if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
! # The LINGUAS file contains the set of available languages.
! ALL_LINGUAS=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
! POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
! else
! # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
! sed_x_LINGUAS=`$gt_echo "$sed_x_variable" | sed -e '/^ *#/d' -e 's/VARIABLE/LINGUAS/g'`
! ALL_LINGUAS=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
! fi
! # Compute POFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
! # Compute UPDATEPOFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
! # Compute DUMMYPOFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
! # Compute GMOFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
! # Compute PROPERTIESFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(DOMAIN)_$(lang).properties)
! # Compute CLASSFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(DOMAIN)_$(lang).class)
! # Compute QMFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
! # Compute MSGFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
! # Compute RESOURCESDLLFILES
! # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
! case "$ac_given_srcdir" in
! .) srcdirpre= ;;
! *) srcdirpre='$(srcdir)/' ;;
! esac
! POFILES=
! UPDATEPOFILES=
! DUMMYPOFILES=
! GMOFILES=
! PROPERTIESFILES=
! CLASSFILES=
! QMFILES=
! MSGFILES=
! RESOURCESDLLFILES=
! for lang in $ALL_LINGUAS; do
! POFILES="$POFILES $srcdirpre$lang.po"
! UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
! DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
! GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
! PROPERTIESFILES="$PROPERTIESFILES \$(srcdir)/\$(DOMAIN)_$lang.properties"
! CLASSFILES="$CLASSFILES \$(srcdir)/\$(DOMAIN)_$lang.class"
! QMFILES="$QMFILES $srcdirpre$lang.qm"
! frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
! MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
! frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
! RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
! done
! # CATALOGS depends on both $ac_dir and the user's LINGUAS
! # environment variable.
! INST_LINGUAS=
! if test -n "$ALL_LINGUAS"; then
! for presentlang in $ALL_LINGUAS; do
! useit=no
! if test "%UNSET%" != "$LINGUAS"; then
! desiredlanguages="$LINGUAS"
! else
! desiredlanguages="$ALL_LINGUAS"
! fi
! for desiredlang in $desiredlanguages; do
! # Use the presentlang catalog if desiredlang is
! # a. equal to presentlang, or
! # b. a variant of presentlang (because in this case,
! # presentlang can be used as a fallback for messages
! # which are not translated in the desiredlang catalog).
! case "$desiredlang" in
! "$presentlang" | "$presentlang"_* | "$presentlang".* | "$presentlang"@*)
! useit=yes
! ;;
! esac
! done
! if test $useit = yes; then
! INST_LINGUAS="$INST_LINGUAS $presentlang"
! fi
! done
! fi
! CATALOGS=
! JAVACATALOGS=
! QTCATALOGS=
! TCLCATALOGS=
! CSHARPCATALOGS=
! if test -n "$INST_LINGUAS"; then
! for lang in $INST_LINGUAS; do
! CATALOGS="$CATALOGS $lang.gmo"
! JAVACATALOGS="$JAVACATALOGS \$(DOMAIN)_$lang.properties"
! QTCATALOGS="$QTCATALOGS $lang.qm"
! frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
! TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
! frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
! CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
! done
! fi
!
! sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
! tab=`printf '\t'`
! if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
! # Add dependencies that cannot be formulated as a simple suffix rule.
! for lang in $ALL_LINGUAS; do
! frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
! cat >> "$ac_file.tmp" <<EOF
! $frobbedlang.msg: $lang.po
! ${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
! ${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
! EOF
! done
! fi
! if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
! # Add dependencies that cannot be formulated as a simple suffix rule.
! for lang in $ALL_LINGUAS; do
! frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
! cat >> "$ac_file.tmp" <<EOF
! $frobbedlang/\$(DOMAIN).resources.dll: $lang.po
! ${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
! ${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
! EOF
! done
! fi
! if test -n "$POMAKEFILEDEPS"; then
! cat >> "$ac_file.tmp" <<EOF
! Makefile: $POMAKEFILEDEPS
! EOF
! fi
mv "$ac_file.tmp" "$ac_file"
])
--- 145,167 ----
# In autoconf-2.13 it is called $ac_given_srcdir.
# In autoconf-2.50 it is called $srcdir.
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
# Treat a directory as a PO directory if and only if it has a
# POTFILES.in file. This allows packages to have multiple PO
# directories under different names or in different locations.
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
! cat "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
fi
;;
esac
done]],
! [])
])
dnl Postprocesses a Makefile in a directory containing PO files.
AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE],
[
! sed -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
mv "$ac_file.tmp" "$ac_file"
])
***************
*** 475,481 ****
XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
])
! # Copyright (C) 2002-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 178,184 ----
XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
])
! # Copyright (C) 2002-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 487,496 ****
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
! [am__api_version='1.16'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
! m4_if([$1], [1.16i], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
--- 190,199 ----
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
! [am__api_version='1.17'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
! m4_if([$1], [1.17], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
***************
*** 506,519 ****
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
! [AM_AUTOMAKE_VERSION([1.16i])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
! # Copyright (C) 2001-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 209,222 ----
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
! [AM_AUTOMAKE_VERSION([1.17])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 565,571 ****
# AM_COND_IF -*- Autoconf -*-
! # Copyright (C) 2008-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 268,274 ----
# AM_COND_IF -*- Autoconf -*-
! # Copyright (C) 2008-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 602,608 ****
# AM_CONDITIONAL -*- Autoconf -*-
! # Copyright (C) 1997-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 305,311 ----
# AM_CONDITIONAL -*- Autoconf -*-
! # Copyright (C) 1997-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 633,639 ****
Usually this means the macro was only invoked conditionally.]])
fi])])
! # Copyright (C) 1999-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 336,342 ----
Usually this means the macro was only invoked conditionally.]])
fi])])
! # Copyright (C) 1999-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 765,771 ****
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
! # When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
--- 468,474 ----
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
! # When given -MP, icc 7.0 and 7.1 complain thus:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
***************
*** 824,830 ****
# Generate code to set up dependency tracking. -*- Autoconf -*-
! # Copyright (C) 1999-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 527,533 ----
# Generate code to set up dependency tracking. -*- Autoconf -*-
! # Copyright (C) 1999-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 892,898 ****
# Do all the work for Automake. -*- Autoconf -*-
! # Copyright (C) 1996-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 595,601 ----
# Do all the work for Automake. -*- Autoconf -*-
! # Copyright (C) 1996-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1069,1075 ****
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
! # Copyright (C) 2001-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 772,778 ----
done
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1090,1096 ****
fi
AC_SUBST([install_sh])])
! # Copyright (C) 2003-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 793,799 ----
fi
AC_SUBST([install_sh])])
! # Copyright (C) 2003-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1111,1117 ****
# Check to see how 'make' treats includes. -*- Autoconf -*-
! # Copyright (C) 2001-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 814,820 ----
# Check to see how 'make' treats includes. -*- Autoconf -*-
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1154,1160 ****
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
! # Copyright (C) 1997-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 857,863 ----
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
! # Copyright (C) 1997-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1188,1194 ****
# Helper functions for option handling. -*- Autoconf -*-
! # Copyright (C) 2001-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 891,897 ----
# Helper functions for option handling. -*- Autoconf -*-
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1217,1223 ****
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
! # Copyright (C) 1999-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 920,926 ----
AC_DEFUN([_AM_IF_OPTION],
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
! # Copyright (C) 1999-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1264,1270 ****
# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
! # Copyright (C) 2022-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 967,973 ----
# For backward compatibility.
AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
! # Copyright (C) 2022-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1280,1286 ****
AC_SUBST(am__rm_f_notfound)
])
! # Copyright (C) 2001-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 983,989 ----
AC_SUBST(am__rm_f_notfound)
])
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1299,1305 ****
# Check to make sure that the build environment is sane. -*- Autoconf -*-
! # Copyright (C) 1996-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1002,1008 ----
# Check to make sure that the build environment is sane. -*- Autoconf -*-
! # Copyright (C) 1996-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1308,1358 ****
# _AM_SLEEP_FRACTIONAL_SECONDS
# ----------------------------
AC_DEFUN([_AM_SLEEP_FRACTIONAL_SECONDS], [dnl
! AC_CACHE_CHECK([whether sleep supports fractional seconds], am_cv_sleep_fractional_seconds, [dnl
! AS_IF([sleep 0.001 2>/dev/null], [am_cv_sleep_fractional_seconds=true], [am_cv_sleep_fractional_seconds=false])
])])
# _AM_FILESYSTEM_TIMESTAMP_RESOLUTION
# -----------------------------------
! # Determine the filesystem timestamp resolution. Modern systems are nanosecond
! # capable, but historical systems could be millisecond, second, or even 2-second
! # resolution.
AC_DEFUN([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION], [dnl
AC_REQUIRE([_AM_SLEEP_FRACTIONAL_SECONDS])
! AC_CACHE_CHECK([the filesystem timestamp resolution], am_cv_filesystem_timestamp_resolution, [dnl
! # Use names that lexically sort older-first when the timestamps are equal.
! rm -f conftest.file.a conftest.file.b
! : > conftest.file.a
! AS_IF([$am_cv_sleep_fractional_seconds], [dnl
! am_try_sleep=0.1 am_try_loops=20
! ], [dnl
! am_try_sleep=1 am_try_loops=2
! ])
! am_try=0
! while :; do
! AS_VAR_ARITH([am_try], [$am_try + 1])
! echo "timestamp $am_try" > conftest.file.b
! set X `ls -t conftest.file.a conftest.file.b`
! if test "$[2]" = conftest.file.b || test $am_try -eq $am_try_loops; then
! break
fi
- sleep $am_try_sleep
done
! rm -f conftest.file.a conftest.file.b
! am_cv_filesystem_timestamp_resolution=$am_try
! AS_IF([$am_cv_sleep_fractional_seconds], [dnl
! AS_VAR_ARITH([am_cv_filesystem_timestamp_resolution], [$am_try / 10])
! AS_VAR_ARITH([am_fraction], [$am_try % 10])
! AS_VAR_APPEND([am_cv_filesystem_timestamp_resolution], [.$am_fraction])
! ])
])])
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_REQUIRE([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION])
! rm -f conftest.file
! AC_CACHE_CHECK([whether build environment is sane], am_cv_build_env_is_sane, [dnl
# Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
--- 1011,1170 ----
# _AM_SLEEP_FRACTIONAL_SECONDS
# ----------------------------
AC_DEFUN([_AM_SLEEP_FRACTIONAL_SECONDS], [dnl
! AC_CACHE_CHECK([whether sleep supports fractional seconds],
! am_cv_sleep_fractional_seconds, [dnl
! AS_IF([sleep 0.001 2>/dev/null], [am_cv_sleep_fractional_seconds=yes],
! [am_cv_sleep_fractional_seconds=no])
])])
# _AM_FILESYSTEM_TIMESTAMP_RESOLUTION
# -----------------------------------
! # Determine the filesystem's resolution for file modification
! # timestamps. The coarsest we know of is FAT, with a resolution
! # of only two seconds, even with the most recent "exFAT" extensions.
! # The finest (e.g. ext4 with large inodes, XFS, ZFS) is one
! # nanosecond, matching clock_gettime. However, it is probably not
! # possible to delay execution of a shell script for less than one
! # millisecond, due to process creation overhead and scheduling
! # granularity, so we don't check for anything finer than that. (See below.)
AC_DEFUN([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION], [dnl
AC_REQUIRE([_AM_SLEEP_FRACTIONAL_SECONDS])
! AC_CACHE_CHECK([filesystem timestamp resolution],
! am_cv_filesystem_timestamp_resolution, [dnl
! # Default to the worst case.
! am_cv_filesystem_timestamp_resolution=2
!
! # Only try to go finer than 1 sec if sleep can do it.
! # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
! # - 1 sec is not much of a win compared to 2 sec, and
! # - it takes 2 seconds to perform the test whether 1 sec works.
! #
! # Instead, just use the default 2s on platforms that have 1s resolution,
! # accept the extra 1s delay when using $sleep in the Automake tests, in
! # exchange for not incurring the 2s delay for running the test for all
! # packages.
! #
! am_try_resolutions=
! if test "$am_cv_sleep_fractional_seconds" = yes; then
! # Even a millisecond often causes a bunch of false positives,
! # so just try a hundredth of a second. The time saved between .001 and
! # .01 is not terribly consequential.
! am_try_resolutions="0.01 0.1 $am_try_resolutions"
! fi
!
! # In order to catch current-generation FAT out, we must *modify* files
! # that already exist; the *creation* timestamp is finer. Use names
! # that make ls -t sort them differently when they have equal
! # timestamps than when they have distinct timestamps, keeping
! # in mind that ls -t prints the *newest* file first.
! rm -f conftest.ts?
! : > conftest.ts1
! : > conftest.ts2
! : > conftest.ts3
!
! # Make sure ls -t actually works. Do 'set' in a subshell so we don't
! # clobber the current shell's arguments. (Outer-level square brackets
! # are removed by m4; they're present so that m4 does not expand
! # <dollar><star>; be careful, easy to get confused.)
! if (
! set X `[ls -t conftest.ts[12]]` &&
! {
! test "$[]*" != "X conftest.ts1 conftest.ts2" ||
! test "$[]*" != "X conftest.ts2 conftest.ts1";
! }
! ); then :; else
! # If neither matched, then we have a broken ls. This can happen
! # if, for instance, CONFIG_SHELL is bash and it inherits a
! # broken ls alias from the environment. This has actually
! # happened. Such a system could not be considered "sane".
! _AS_ECHO_UNQUOTED(
! ["Bad output from ls -t: \"`[ls -t conftest.ts[12]]`\""],
! [AS_MESSAGE_LOG_FD])
! AC_MSG_FAILURE([ls -t produces unexpected output.
! Make sure there is not a broken ls alias in your environment.])
! fi
!
! for am_try_res in $am_try_resolutions; do
! # Any one fine-grained sleep might happen to cross the boundary
! # between two values of a coarser actual resolution, but if we do
! # two fine-grained sleeps in a row, at least one of them will fall
! # entirely within a coarse interval.
! echo alpha > conftest.ts1
! sleep $am_try_res
! echo beta > conftest.ts2
! sleep $am_try_res
! echo gamma > conftest.ts3
!
! # We assume that 'ls -t' will make use of high-resolution
! # timestamps if the operating system supports them at all.
! if (set X `ls -t conftest.ts?` &&
! test "$[]2" = conftest.ts3 &&
! test "$[]3" = conftest.ts2 &&
! test "$[]4" = conftest.ts1); then
! #
! # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
! # because we don't need to test make.
! make_ok=true
! if test $am_try_res != 1; then
! # But if we've succeeded so far with a subsecond resolution, we
! # have one more thing to check: make. It can happen that
! # everything else supports the subsecond mtimes, but make doesn't;
! # notably on macOS, which ships make 3.81 from 2006 (the last one
! # released under GPLv2). https://bugs.gnu.org/68808
! #
! # We test $MAKE if it is defined in the environment, else "make".
! # It might get overridden later, but our hope is that in practice
! # it does not matter: it is the system "make" which is (by far)
! # the most likely to be broken, whereas if the user overrides it,
! # probably they did so with a better, or at least not worse, make.
! # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
! #
! # Create a Makefile (real tab character here):
! rm -f conftest.mk
! echo 'conftest.ts1: conftest.ts2' >conftest.mk
! echo ' touch conftest.ts2' >>conftest.mk
! #
! # Now, running
! # touch conftest.ts1; touch conftest.ts2; make
! # should touch ts1 because ts2 is newer. This could happen by luck,
! # but most often, it will fail if make's support is insufficient. So
! # test for several consecutive successes.
! #
! # (We reuse conftest.ts[12] because we still want to modify existing
! # files, not create new ones, per above.)
! n=0
! make=${MAKE-make}
! until test $n -eq 3; do
! echo one > conftest.ts1
! sleep $am_try_res
! echo two > conftest.ts2 # ts2 should now be newer than ts1
! if $make -f conftest.mk | grep 'up to date' >/dev/null; then
! make_ok=false
! break # out of $n loop
! fi
! n=`expr $n + 1`
! done
! fi
! #
! if $make_ok; then
! # Everything we know to check worked out, so call this resolution good.
! am_cv_filesystem_timestamp_resolution=$am_try_res
! break # out of $am_try_res loop
! fi
! # Otherwise, we'll go on to check the next resolution.
fi
done
! rm -f conftest.ts?
! # (end _am_filesystem_timestamp_resolution)
])])
# AM_SANITY_CHECK
# ---------------
AC_DEFUN([AM_SANITY_CHECK],
[AC_REQUIRE([_AM_FILESYSTEM_TIMESTAMP_RESOLUTION])
! # This check should not be cached, as it may vary across builds of
! # different projects.
! AC_MSG_CHECKING([whether build environment is sane])
# Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
***************
*** 1371,1418 ****
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
! if (
! am_has_slept=no
! for am_try in 1 2; do
! echo "timestamp, slept: $am_has_slept" > conftest.file
! set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
! if test "$[*]" = "X"; then
! # -L didn't work.
! set X `ls -t "$srcdir/configure" conftest.file`
! fi
! if test "$[*]" != "X $srcdir/configure conftest.file" \
! && test "$[*]" != "X conftest.file $srcdir/configure"; then
!
! # If neither matched, then we have a broken ls. This can happen
! # if, for instance, CONFIG_SHELL is bash and it inherits a
! # broken ls alias from the environment. This has actually
! # happened. Such a system could not be considered "sane".
! AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
! alias in your environment])
! fi
! if test "$[2]" = conftest.file || test $am_try -eq 2; then
! break
! fi
! # Just in case.
! sleep $am_cv_filesystem_timestamp_resolution
! am_has_slept=yes
! done
! test "$[2]" = conftest.file
! )
! then
! am_cv_build_env_is_sane=yes
! else
! AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
! ])
# If we didn't sleep, we still need to ensure time stamps of config.status and
# generated files are strictly newer.
am_sleep_pid=
! if ! test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1; then
! ( sleep $am_cv_filesystem_timestamp_resolution ) &
am_sleep_pid=$!
! fi
AC_CONFIG_COMMANDS_PRE(
[AC_MSG_CHECKING([that generated files are newer than configure])
if test -n "$am_sleep_pid"; then
--- 1183,1222 ----
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
! am_build_env_is_sane=no
! am_has_slept=no
! rm -f conftest.file
! for am_try in 1 2; do
! echo "timestamp, slept: $am_has_slept" > conftest.file
! if (
! set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
! if test "$[]*" = "X"; then
! # -L didn't work.
! set X `ls -t "$srcdir/configure" conftest.file`
! fi
! test "$[]2" = conftest.file
! ); then
! am_build_env_is_sane=yes
! break
! fi
! # Just in case.
! sleep "$am_cv_filesystem_timestamp_resolution"
! am_has_slept=yes
! done
!
! AC_MSG_RESULT([$am_build_env_is_sane])
! if test "$am_build_env_is_sane" = no; then
! AC_MSG_ERROR([newly created file is older than distributed files!
Check your system clock])
fi
!
# If we didn't sleep, we still need to ensure time stamps of config.status and
# generated files are strictly newer.
am_sleep_pid=
! AS_IF([test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1],, [dnl
! ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
am_sleep_pid=$!
! ])
AC_CONFIG_COMMANDS_PRE(
[AC_MSG_CHECKING([that generated files are newer than configure])
if test -n "$am_sleep_pid"; then
***************
*** 1423,1429 ****
rm -f conftest.file
])
! # Copyright (C) 2009-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1227,1233 ----
rm -f conftest.file
])
! # Copyright (C) 2009-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1494,1500 ****
[AC_REQUIRE([_AM_SILENT_RULES])
AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])])
! # Copyright (C) 2001-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1298,1304 ----
[AC_REQUIRE([_AM_SILENT_RULES])
AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1])])
! # Copyright (C) 2001-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1522,1528 ****
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
! # Copyright (C) 2006-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1326,1332 ----
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
AC_SUBST([INSTALL_STRIP_PROGRAM])])
! # Copyright (C) 2006-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1541,1547 ****
# Check how to create a tarball. -*- Autoconf -*-
! # Copyright (C) 2004-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1345,1351 ----
# Check how to create a tarball. -*- Autoconf -*-
! # Copyright (C) 2004-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 1676,1682 ****
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
! # Copyright (C) 2022-2023 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1480,1486 ----
AC_SUBST([am__untar])
]) # _AM_PROG_TAR
! # Copyright (C) 2022-2024 Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
Only in gzip-1.13: autom4te.cache
diff -x '*.o' -crB gzip-1.13-orig/build-aux/config.sub gzip-1.13/build-aux/config.sub
*** gzip-1.13-orig/build-aux/config.sub 2023-08-17 02:47:32.000000000 +0300
--- gzip-1.13/build-aux/config.sub 2025-03-08 22:10:42.193220118 +0200
***************
*** 1736,1742 ****
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
! | fiwix* | mlibc* | cos* | mbr* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
--- 1736,1742 ----
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
! | fiwix* | mlibc* | cos* | mbr* | yggdrasil* )
;;
# This one is extra strict with allowed versions
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
diff -x '*.o' -crB gzip-1.13-orig/configure gzip-1.13/configure
*** gzip-1.13-orig/configure 2023-08-20 03:13:40.000000000 +0300
--- gzip-1.13/configure 2025-03-08 22:10:54.847323213 +0200
***************
*** 1,6 ****
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.72c.32-cb6fb for gzip 1.13.
#
# Report bugs to <bug-gzip@gnu.org>.
#
--- 1,6 ----
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.72 for gzip 1.13.
#
# Report bugs to <bug-gzip@gnu.org>.
#
***************
*** 2865,2871 ****
if $ac_init_version; then
cat <<\_ACEOF
gzip configure 1.13
! generated by GNU Autoconf 2.72c.32-cb6fb
Copyright (C) 2023 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
--- 2865,2871 ----
if $ac_init_version; then
cat <<\_ACEOF
gzip configure 1.13
! generated by GNU Autoconf 2.72
Copyright (C) 2023 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
***************
*** 3548,3554 ****
running configure, to aid debugging if configure makes a mistake.
It was created by gzip $as_me 1.13, which was
! generated by GNU Autoconf 2.72c.32-cb6fb. Invocation command line was
$ $0$ac_configure_args_raw
--- 3548,3554 ----
running configure, to aid debugging if configure makes a mistake.
It was created by gzip $as_me 1.13, which was
! generated by GNU Autoconf 2.72. Invocation command line was
$ $0$ac_configure_args_raw
***************
*** 3889,3899 ****
# Test code for whether the C compiler supports C99 (global declarations)
ac_c_conftest_c99_globals='
! // Does the compiler advertise C99 conformance?
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
# error "Compiler does not advertise C99 conformance"
#endif
#include <stdbool.h>
extern int puts (const char *);
extern int printf (const char *, ...);
--- 3889,3901 ----
# Test code for whether the C compiler supports C99 (global declarations)
ac_c_conftest_c99_globals='
! /* Does the compiler advertise C99 conformance? */
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
# error "Compiler does not advertise C99 conformance"
#endif
+ // See if C++-style comments work.
+
#include <stdbool.h>
extern int puts (const char *);
extern int printf (const char *, ...);
***************
*** 3949,3955 ****
static inline int
test_restrict (ccp restrict text)
{
- // See if C++-style comments work.
// Iterate through items via the restricted pointer.
// Also check for declarations in for loops.
for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
--- 3951,3956 ----
***************
*** 4038,4044 ****
# Test code for whether the C compiler supports C11 (global declarations)
ac_c_conftest_c11_globals='
! // Does the compiler advertise C11 conformance?
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
# error "Compiler does not advertise C11 conformance"
#endif
--- 4039,4045 ----
# Test code for whether the C compiler supports C11 (global declarations)
ac_c_conftest_c11_globals='
! /* Does the compiler advertise C11 conformance? */
#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
# error "Compiler does not advertise C11 conformance"
#endif
***************
*** 4374,4380 ****
ac_config_headers="$ac_config_headers lib/config.h:lib/config.hin"
! am__api_version='1.16'
--- 4375,4381 ----
ac_config_headers="$ac_config_headers lib/config.h:lib/config.hin"
! am__api_version='1.17'
***************
*** 4485,4493 ****
else case e in #(
e) if sleep 0.001 2>/dev/null
then :
! am_cv_sleep_fractional_seconds=true
else case e in #(
! e) am_cv_sleep_fractional_seconds=false ;;
esac
fi
;;
--- 4486,4494 ----
else case e in #(
e) if sleep 0.001 2>/dev/null
then :
! am_cv_sleep_fractional_seconds=yes
else case e in #(
! e) am_cv_sleep_fractional_seconds=no ;;
esac
fi
;;
***************
*** 4496,4552 ****
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the filesystem timestamp resolution" >&5
! printf %s "checking the filesystem timestamp resolution... " >&6; }
if test ${am_cv_filesystem_timestamp_resolution+y}
then :
printf %s "(cached) " >&6
else case e in #(
! e) # Use names that lexically sort older-first when the timestamps are equal.
! rm -f conftest.file.a conftest.file.b
! : > conftest.file.a
! if $am_cv_sleep_fractional_seconds
! then :
! am_try_sleep=0.1 am_try_loops=20
! else case e in #(
! e) am_try_sleep=1 am_try_loops=2
! ;;
! esac
fi
! am_try=0
! while :; do
! as_fn_arith $am_try + 1 && am_try=$as_val
! echo "timestamp $am_try" > conftest.file.b
! set X `ls -t conftest.file.a conftest.file.b`
! if test "$2" = conftest.file.b || test $am_try -eq $am_try_loops; then
! break
fi
- sleep $am_try_sleep
done
! rm -f conftest.file.a conftest.file.b
! am_cv_filesystem_timestamp_resolution=$am_try
! if $am_cv_sleep_fractional_seconds
! then :
! as_fn_arith $am_try / 10 && am_cv_filesystem_timestamp_resolution=$as_val
! as_fn_arith $am_try % 10 && am_fraction=$as_val
! as_fn_append am_cv_filesystem_timestamp_resolution .$am_fraction
!
! fi
;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
! rm -f conftest.file
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
printf %s "checking whether build environment is sane... " >&6; }
! if test ${am_cv_build_env_is_sane+y}
! then :
! printf %s "(cached) " >&6
! else case e in #(
! e) # Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
'
--- 4497,4645 ----
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
! printf %s "checking filesystem timestamp resolution... " >&6; }
if test ${am_cv_filesystem_timestamp_resolution+y}
then :
printf %s "(cached) " >&6
else case e in #(
! e) # Default to the worst case.
! am_cv_filesystem_timestamp_resolution=2
! # Only try to go finer than 1 sec if sleep can do it.
! # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
! # - 1 sec is not much of a win compared to 2 sec, and
! # - it takes 2 seconds to perform the test whether 1 sec works.
! #
! # Instead, just use the default 2s on platforms that have 1s resolution,
! # accept the extra 1s delay when using $sleep in the Automake tests, in
! # exchange for not incurring the 2s delay for running the test for all
! # packages.
! #
! am_try_resolutions=
! if test "$am_cv_sleep_fractional_seconds" = yes; then
! # Even a millisecond often causes a bunch of false positives,
! # so just try a hundredth of a second. The time saved between .001 and
! # .01 is not terribly consequential.
! am_try_resolutions="0.01 0.1 $am_try_resolutions"
! fi
!
! # In order to catch current-generation FAT out, we must *modify* files
! # that already exist; the *creation* timestamp is finer. Use names
! # that make ls -t sort them differently when they have equal
! # timestamps than when they have distinct timestamps, keeping
! # in mind that ls -t prints the *newest* file first.
! rm -f conftest.ts?
! : > conftest.ts1
! : > conftest.ts2
! : > conftest.ts3
!
! # Make sure ls -t actually works. Do 'set' in a subshell so we don't
! # clobber the current shell's arguments. (Outer-level square brackets
! # are removed by m4; they're present so that m4 does not expand
! # <dollar><star>; be careful, easy to get confused.)
! if (
! set X `ls -t conftest.ts[12]` &&
! {
! test "$*" != "X conftest.ts1 conftest.ts2" ||
! test "$*" != "X conftest.ts2 conftest.ts1";
! }
! ); then :; else
! # If neither matched, then we have a broken ls. This can happen
! # if, for instance, CONFIG_SHELL is bash and it inherits a
! # broken ls alias from the environment. This has actually
! # happened. Such a system could not be considered "sane".
! printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
! { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
! printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
! as_fn_error $? "ls -t produces unexpected output.
! Make sure there is not a broken ls alias in your environment.
! See 'config.log' for more details" "$LINENO" 5; }
fi
!
! for am_try_res in $am_try_resolutions; do
! # Any one fine-grained sleep might happen to cross the boundary
! # between two values of a coarser actual resolution, but if we do
! # two fine-grained sleeps in a row, at least one of them will fall
! # entirely within a coarse interval.
! echo alpha > conftest.ts1
! sleep $am_try_res
! echo beta > conftest.ts2
! sleep $am_try_res
! echo gamma > conftest.ts3
!
! # We assume that 'ls -t' will make use of high-resolution
! # timestamps if the operating system supports them at all.
! if (set X `ls -t conftest.ts?` &&
! test "$2" = conftest.ts3 &&
! test "$3" = conftest.ts2 &&
! test "$4" = conftest.ts1); then
! #
! # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
! # because we don't need to test make.
! make_ok=true
! if test $am_try_res != 1; then
! # But if we've succeeded so far with a subsecond resolution, we
! # have one more thing to check: make. It can happen that
! # everything else supports the subsecond mtimes, but make doesn't;
! # notably on macOS, which ships make 3.81 from 2006 (the last one
! # released under GPLv2). https://bugs.gnu.org/68808
! #
! # We test $MAKE if it is defined in the environment, else "make".
! # It might get overridden later, but our hope is that in practice
! # it does not matter: it is the system "make" which is (by far)
! # the most likely to be broken, whereas if the user overrides it,
! # probably they did so with a better, or at least not worse, make.
! # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
! #
! # Create a Makefile (real tab character here):
! rm -f conftest.mk
! echo 'conftest.ts1: conftest.ts2' >conftest.mk
! echo ' touch conftest.ts2' >>conftest.mk
! #
! # Now, running
! # touch conftest.ts1; touch conftest.ts2; make
! # should touch ts1 because ts2 is newer. This could happen by luck,
! # but most often, it will fail if make's support is insufficient. So
! # test for several consecutive successes.
! #
! # (We reuse conftest.ts[12] because we still want to modify existing
! # files, not create new ones, per above.)
! n=0
! make=${MAKE-make}
! until test $n -eq 3; do
! echo one > conftest.ts1
! sleep $am_try_res
! echo two > conftest.ts2 # ts2 should now be newer than ts1
! if $make -f conftest.mk | grep 'up to date' >/dev/null; then
! make_ok=false
! break # out of $n loop
! fi
! n=`expr $n + 1`
! done
! fi
! #
! if $make_ok; then
! # Everything we know to check worked out, so call this resolution good.
! am_cv_filesystem_timestamp_resolution=$am_try_res
! break # out of $am_try_res loop
! fi
! # Otherwise, we'll go on to check the next resolution.
fi
done
! rm -f conftest.ts?
! # (end _am_filesystem_timestamp_resolution)
;;
esac
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
! # This check should not be cached, as it may vary across builds of
! # different projects.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
printf %s "checking whether build environment is sane... " >&6; }
! # Reject unsafe characters in $srcdir or the absolute working directory
# name. Accept space and tab only in the latter.
am_lf='
'
***************
*** 4564,4614 ****
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
! if (
! am_has_slept=no
! for am_try in 1 2; do
! echo "timestamp, slept: $am_has_slept" > conftest.file
! set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
! if test "$*" = "X"; then
! # -L didn't work.
! set X `ls -t "$srcdir/configure" conftest.file`
! fi
! if test "$*" != "X $srcdir/configure conftest.file" \
! && test "$*" != "X conftest.file $srcdir/configure"; then
! # If neither matched, then we have a broken ls. This can happen
! # if, for instance, CONFIG_SHELL is bash and it inherits a
! # broken ls alias from the environment. This has actually
! # happened. Such a system could not be considered "sane".
! as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
! alias in your environment" "$LINENO" 5
! fi
! if test "$2" = conftest.file || test $am_try -eq 2; then
! break
! fi
! # Just in case.
! sleep $am_cv_filesystem_timestamp_resolution
! am_has_slept=yes
! done
! test "$2" = conftest.file
! )
! then
! am_cv_build_env_is_sane=yes
! else
! as_fn_error $? "newly created file is older than distributed files!
Check your system clock" "$LINENO" 5
fi
! ;;
! esac
! fi
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_build_env_is_sane" >&5
! printf "%s\n" "$am_cv_build_env_is_sane" >&6; }
# If we didn't sleep, we still need to ensure time stamps of config.status and
# generated files are strictly newer.
am_sleep_pid=
! if ! test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1; then
! ( sleep $am_cv_filesystem_timestamp_resolution ) &
am_sleep_pid=$!
fi
rm -f conftest.file
--- 4657,4701 ----
# symlink; some systems play weird games with the mod time of symlinks
# (eg FreeBSD returns the mod time of the symlink's containing
# directory).
! am_build_env_is_sane=no
! am_has_slept=no
! rm -f conftest.file
! for am_try in 1 2; do
! echo "timestamp, slept: $am_has_slept" > conftest.file
! if (
! set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
! if test "$*" = "X"; then
! # -L didn't work.
! set X `ls -t "$srcdir/configure" conftest.file`
! fi
! test "$2" = conftest.file
! ); then
! am_build_env_is_sane=yes
! break
! fi
! # Just in case.
! sleep "$am_cv_filesystem_timestamp_resolution"
! am_has_slept=yes
! done
! { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
! printf "%s\n" "$am_build_env_is_sane" >&6; }
! if test "$am_build_env_is_sane" = no; then
! as_fn_error $? "newly created file is older than distributed files!
Check your system clock" "$LINENO" 5
fi
!
# If we didn't sleep, we still need to ensure time stamps of config.status and
# generated files are strictly newer.
am_sleep_pid=
! if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
! then :
!
! else case e in #(
! e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
am_sleep_pid=$!
+ ;;
+ esac
fi
rm -f conftest.file
***************
*** 4783,4789 ****
as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
'mkdir ('*'coreutils) '* | \
! 'BusyBox '* | \
'mkdir (fileutils) '4.1*)
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
break 3;;
--- 4870,4876 ----
as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
'mkdir ('*'coreutils) '* | \
! *'BusyBox '* | \
'mkdir (fileutils) '4.1*)
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
break 3;;
***************
*** 6389,6395 ****
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
! # When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
--- 6476,6482 ----
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
! # When given -MP, icc 7.0 and 7.1 complain thus:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
***************
*** 7761,7767 ****
if test $ac_opt_found != yes; then
case $host_os in #(
! mingw*) :
ac_cv_sys_largefile_opts="supported through gnulib"
ac_opt_found=yes
;; #(
--- 7848,7854 ----
if test $ac_opt_found != yes; then
case $host_os in #(
! mingw* | windows*) :
ac_cv_sys_largefile_opts="supported through gnulib"
ac_opt_found=yes
;; #(
***************
*** 15610,15615 ****
--- 15697,15706 ----
if test $gl_cv_var_stdin_large_offset = no; then
REPLACE_FSEEKO=1
fi
+ case "$host_os" in
+ yggdrasil*)
+ ;;
+ **)
***************
*** 15713,15723 ****
printf "%s\n" "#define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin" >>confdefs.h
! case "$gl_cv_func_fflush_stdin" in
! *yes) ;;
! *) REPLACE_FSEEKO=1 ;;
! esac
fi
--- 15804,15816 ----
printf "%s\n" "#define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin" >>confdefs.h
! case "$gl_cv_func_fflush_stdin" in
! *yes) ;;
! *) REPLACE_FSEEKO=1 ;;
! esac
+ ;;
+ esac
fi
***************
*** 24534,24539 ****
--- 24627,24633 ----
then :
case "$host_os" in
# Guess no on NetBSD.
+ yggdrasil*) gl_cv_func_fcntl_f_dupfd_cloexec="guessing yes" ;;
netbsd*) gl_cv_func_fcntl_f_dupfd_cloexec="guessing no" ;;
*) gl_cv_func_fcntl_f_dupfd_cloexec="$gl_cross_guess_normal" ;;
esac
***************
*** 26855,26860 ****
--- 26949,26958 ----
if test $gl_cv_var_stdin_large_offset = no; then
REPLACE_FSEEKO=1
fi
+ case "$host_os" in
+ yggdrasil*)
+ ;;
+ **)
***************
*** 26958,26968 ****
printf "%s\n" "#define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin" >>confdefs.h
! case "$gl_cv_func_fflush_stdin" in
! *yes) ;;
! *) REPLACE_FSEEKO=1 ;;
! esac
fi
--- 27056,27068 ----
printf "%s\n" "#define FUNC_FFLUSH_STDIN $gl_func_fflush_stdin" >>confdefs.h
! case "$gl_cv_func_fflush_stdin" in
! *yes) ;;
! *) REPLACE_FSEEKO=1 ;;
! esac
+ ;;
+ esac
fi
***************
*** 37068,37074 ****
# values after options handling.
ac_log="
This file was extended by gzip $as_me 1.13, which was
! generated by GNU Autoconf 2.72c.32-cb6fb. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
--- 37168,37174 ----
# values after options handling.
ac_log="
This file was extended by gzip $as_me 1.13, which was
! generated by GNU Autoconf 2.72. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
***************
*** 37140,37146 ****
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
gzip config.status 1.13
! configured by $0, generated by GNU Autoconf 2.72c.32-cb6fb,
with options \\"\$ac_cs_config\\"
Copyright (C) 2023 Free Software Foundation, Inc.
--- 37240,37246 ----
ac_cs_config='$ac_cs_config_escaped'
ac_cs_version="\\
gzip config.status 1.13
! configured by $0, generated by GNU Autoconf 2.72,
with options \\"\$ac_cs_config\\"
Copyright (C) 2023 Free Software Foundation, Inc.
Only in gzip-1.13: configure~
diff -x '*.o' -crB gzip-1.13-orig/doc/Makefile.in gzip-1.13/doc/Makefile.in
*** gzip-1.13-orig/doc/Makefile.in 2023-08-20 02:32:50.000000000 +0300
--- gzip-1.13/doc/Makefile.in 2025-03-08 22:10:55.295211374 +0200
***************
*** 1,7 ****
! # Makefile.in generated by automake 1.16i from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2023 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1,7 ----
! # Makefile.in generated by automake 1.17 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
diff -x '*.o' -crB gzip-1.13-orig/lib/fseterr.h gzip-1.13/lib/fseterr.h
*** gzip-1.13-orig/lib/fseterr.h 2023-05-28 04:10:34.000000000 +0300
--- gzip-1.13/lib/fseterr.h 2025-03-08 22:10:18.772029233 +0200
***************
*** 30,36 ****
--- 30,38 ----
#if HAVE___FSETERR /* musl libc */
+ #if !defined(__yggdrasil__)
# include <stdio_ext.h>
+ #endif
# define fseterr(fp) __fseterr (fp)
#else
diff -x '*.o' -crB gzip-1.13-orig/lib/Makefile.in gzip-1.13/lib/Makefile.in
*** gzip-1.13-orig/lib/Makefile.in 2023-08-20 02:32:50.000000000 +0300
--- gzip-1.13/lib/Makefile.in 2025-03-08 22:10:55.455531247 +0200
***************
*** 1,7 ****
! # Makefile.in generated by automake 1.16i from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2023 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1,7 ----
! # Makefile.in generated by automake 1.17 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
diff -x '*.o' -crB gzip-1.13-orig/m4/fcntl.m4 gzip-1.13/m4/fcntl.m4
*** gzip-1.13-orig/m4/fcntl.m4 2023-01-02 03:20:46.000000000 +0200
--- gzip-1.13/m4/fcntl.m4 2025-03-08 22:09:35.326306160 +0200
***************
*** 117,122 ****
--- 117,123 ----
[gl_cv_func_fcntl_f_dupfd_cloexec=no],
[case "$host_os" in
# Guess no on NetBSD.
+ yggdrasil*) gl_cv_func_fcntl_f_dupfd_cloexec="guessing yes" ;;
netbsd*) gl_cv_func_fcntl_f_dupfd_cloexec="guessing no" ;;
*) gl_cv_func_fcntl_f_dupfd_cloexec="$gl_cross_guess_normal" ;;
esac
diff -x '*.o' -crB gzip-1.13-orig/m4/fseeko.m4 gzip-1.13/m4/fseeko.m4
*** gzip-1.13-orig/m4/fseeko.m4 2023-01-02 03:20:46.000000000 +0200
--- gzip-1.13/m4/fseeko.m4 2025-03-08 22:10:04.170910183 +0200
***************
*** 35,47 ****
if test $gl_cv_var_stdin_large_offset = no; then
REPLACE_FSEEKO=1
fi
! m4_ifdef([gl_FUNC_FFLUSH_STDIN], [
! gl_FUNC_FFLUSH_STDIN
! case "$gl_cv_func_fflush_stdin" in
! *yes) ;;
! *) REPLACE_FSEEKO=1 ;;
! esac
! ])
fi
])
--- 35,53 ----
if test $gl_cv_var_stdin_large_offset = no; then
REPLACE_FSEEKO=1
fi
! case "$host_os" in
! yggdrasil*)
! ;;
! **)
! m4_ifdef([gl_FUNC_FFLUSH_STDIN], [
! gl_FUNC_FFLUSH_STDIN
! case "$gl_cv_func_fflush_stdin" in
! *yes) ;;
! *) REPLACE_FSEEKO=1 ;;
! esac
! ])
! ;;
! esac
fi
])
diff -x '*.o' -crB gzip-1.13-orig/Makefile.in gzip-1.13/Makefile.in
*** gzip-1.13-orig/Makefile.in 2023-08-20 02:32:50.000000000 +0300
--- gzip-1.13/Makefile.in 2025-03-08 22:10:55.257576336 +0200
***************
*** 1,7 ****
! # Makefile.in generated by automake 1.16i from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2023 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1,7 ----
! # Makefile.in generated by automake 1.17 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 370,377 ****
top_distdir = $(distdir)
am__remove_distdir = \
if test -d "$(distdir)"; then \
! find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
! && rm -rf "$(distdir)" \
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
am__post_remove_distdir = $(am__remove_distdir)
--- 370,377 ----
top_distdir = $(distdir)
am__remove_distdir = \
if test -d "$(distdir)"; then \
! find "$(distdir)" -type d ! -perm -700 -exec chmod u+rwx {} ';' \
! ; rm -rf "$(distdir)" \
|| { sleep 5 && rm -rf "$(distdir)"; }; \
else :; fi
am__post_remove_distdir = $(am__remove_distdir)
***************
*** 401,407 ****
done; \
reldir="$$dir2"
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz $(distdir).zip
! GZIP_ENV = --best
DIST_TARGETS = dist-xz dist-gzip dist-zip
# Exists only to be overridden by the user if desired.
AM_DISTCHECK_DVI_TARGET = dvi
--- 401,407 ----
done; \
reldir="$$dir2"
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz $(distdir).zip
! GZIP_ENV = -9
DIST_TARGETS = dist-xz dist-gzip dist-zip
# Exists only to be overridden by the user if desired.
AM_DISTCHECK_DVI_TARGET = dvi
***************
*** 2223,2229 ****
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
! eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
--- 2223,2229 ----
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
! eval GZIP= gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
***************
*** 2233,2239 ****
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
! eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
*.tar.zst*) \
--- 2233,2239 ----
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
! eval GZIP= gzip -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
*.tar.zst*) \
diff -x '*.o' -crB gzip-1.13-orig/tests/Makefile.in gzip-1.13/tests/Makefile.in
*** gzip-1.13-orig/tests/Makefile.in 2023-08-20 02:32:50.000000000 +0300
--- gzip-1.13/tests/Makefile.in 2025-03-08 22:10:55.496675504 +0200
***************
*** 1,7 ****
! # Makefile.in generated by automake 1.16i from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2023 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
--- 1,7 ----
! # Makefile.in generated by automake 1.17 from Makefile.am.
# @configure_input@
! # Copyright (C) 1994-2024 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
***************
*** 352,357 ****
--- 352,358 ----
# Default flags passed to test drivers.
am__common_driver_flags = \
--color-tests "$$am__color_tests" \
+ $$am__collect_skipped_logs \
--enable-hard-errors "$$am__enable_hard_errors" \
--expect-failure "$$am__expect_failure"
# To be inserted before the command running the test. Creates the
***************
*** 376,381 ****
--- 377,387 ----
elif test -f "$$f"; then dir=; \
else dir="$(srcdir)/"; fi; \
tst=$$dir$$f; log='$@'; \
+ if test -n '$(IGNORE_SKIPPED_LOGS)'; then \
+ am__collect_skipped_logs='--collect-skipped-logs no'; \
+ else \
+ am__collect_skipped_logs=''; \
+ fi; \
if test -n '$(DISABLE_HARD_ERRORS)'; then \
am__enable_hard_errors=no; \
else \
***************
*** 1972,1981 ****
--- 1977,2013 ----
result_count $$1 "XPASS:" $$xpass "$$red"; \
result_count $$1 "ERROR:" $$error "$$mgn"; \
}; \
+ output_system_information () \
+ { \
+ echo; \
+ { uname -a | $(AWK) '{ \
+ printf "System information (uname -a):"; \
+ for (i = 1; i < NF; ++i) \
+ { \
+ if (i != 2) \
+ printf " %s", $$i; \
+ } \
+ printf "\n"; \
+ }'; } 2>&1; \
+ if test -r /etc/os-release; then \
+ echo "Distribution information (/etc/os-release):"; \
+ sed 8q /etc/os-release; \
+ elif test -r /etc/issue; then \
+ echo "Distribution information (/etc/issue):"; \
+ cat /etc/issue; \
+ fi; \
+ }; \
+ please_report () \
+ { \
+ echo "Some test(s) failed. Please report this to $(PACKAGE_BUGREPORT),"; \
+ echo "together with the test-suite.log file (gzipped) and your system"; \
+ echo "information. Thanks."; \
+ }; \
{ \
echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
$(am__rst_title); \
create_testsuite_report --no-color; \
+ output_system_information; \
echo; \
echo ".. contents:: :depth: 2"; \
echo; \
***************
*** 1995,2003 ****
create_testsuite_report --maybe-color; \
echo "$$col$$br$$std"; \
if $$success; then :; else \
! echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
if test -n "$(PACKAGE_BUGREPORT)"; then \
! echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
fi; \
echo "$$col$$br$$std"; \
fi; \
--- 2027,2035 ----
create_testsuite_report --maybe-color; \
echo "$$col$$br$$std"; \
if $$success; then :; else \
! echo "$${col}See $(subdir)/$(TEST_SUITE_LOG) for debugging.$${std}";\
if test -n "$(PACKAGE_BUGREPORT)"; then \
! please_report | sed -e "s/^/$${col}/" -e s/'$$'/"$${std}"/; \
fi; \
echo "$$col$$br$$std"; \
fi; \