]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
maint: omit trailing whitespace master
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Apr 2026 20:43:50 +0000 (13:43 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Apr 2026 20:43:50 +0000 (13:43 -0700)
14 files changed:
HACKING
NEWS
bin/aclocal.in
bin/automake.in
doc/automake.texi
lib/Automake/Variable.pm
lib/py-compile
m4/sanity.m4
t/all.sh
t/ax/test-defs.in
t/dist-no-built-sources.sh
t/instdir-ltlib.sh
t/tar-override.sh
t/varempty.sh

diff --git a/HACKING b/HACKING
index e881aa6d13de3f3387e806e7c042b24a4c712183..90d5ec2337faa9883530a75490d72d34dad3b89e 100644 (file)
--- a/HACKING
+++ b/HACKING
   release (x.y.z), say 1.17.1, we would have 1.17.0.91 for the initial
   post-release development version, 1.17.0.92 for the first pretest,
   etc. (Just "make" will fail after this; do "make bootstrap", as below.)
   release (x.y.z), say 1.17.1, we would have 1.17.0.91 for the initial
   post-release development version, 1.17.0.92 for the first pretest,
   etc. (Just "make" will fail after this; do "make bootstrap", as below.)
-  
+
   Before 1.17 (July 2024), we used suffixed letters for pretests, as is
   traditional, but deficient sorting algorithms did not like that. The
   code in lib/Automake/Version.pm, along with the regexp in
   Before 1.17 (July 2024), we used suffixed letters for pretests, as is
   traditional, but deficient sorting algorithms did not like that. The
   code in lib/Automake/Version.pm, along with the regexp in
   tarballs (again, so hopefully no changes have been made in the
   meantime), and invoke the 'gnupload' script sign and upload them to
   the correct locations.
   tarballs (again, so hopefully no changes have been made in the
   meantime), and invoke the 'gnupload' script sign and upload them to
   the correct locations.
-  
+
   There can be a delay of up to several minutes before the new files
   appear on the server.
 
   There can be a delay of up to several minutes before the new files
   appear on the server.
 
   if it is an alpha or beta release, announcement should be sent also
   to <platform-testers@gnu.org>, to maximize the possibility of early
   testing on the widest variety of systems.
   if it is an alpha or beta release, announcement should be sent also
   to <platform-testers@gnu.org>, to maximize the possibility of early
   testing on the widest variety of systems.
-  
+
   Finally, copy an abridged version of the announcement into the NEWS
   feed at: <https://savannah.gnu.org/projects/automake>.  Be sure to
   link a version to the complete announcement (as archived at any of the
   Finally, copy an abridged version of the announcement into the NEWS
   feed at: <https://savannah.gnu.org/projects/automake>.  Be sure to
   link a version to the complete announcement (as archived at any of the
   instructions in
   https://gnu.org/prep/maintain/maintain.html#Automated-Upload-Registration.
   The FSF sysadmins may need to be reminded to install new keys.
   instructions in
   https://gnu.org/prep/maintain/maintain.html#Automated-Upload-Registration.
   The FSF sysadmins may need to be reminded to install new keys.
-  
+
   A preliminary step is to check
   https://savannah.gnu.org/project/release-gpgkeys.php?group=automake
   which has a link to download automake-keyring.gpg; the new key should
   A preliminary step is to check
   https://savannah.gnu.org/project/release-gpgkeys.php?group=automake
   which has a link to download automake-keyring.gpg; the new key should
diff --git a/NEWS b/NEWS
index 8c78b926cde6cc93f0089d2a5dc1c0d256648920..7862559321fa5e7c3521703779302af59cc4fa9b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -62,7 +62,7 @@ New in 1.18 (2025-05-25):
   - The test infrastructure sets the CONFIG_SITE environment variable to
     /dev/null, to avoid the local system's Autoconf site defaults from
     breaking the test environment. (bug#76622)
   - The test infrastructure sets the CONFIG_SITE environment variable to
     /dev/null, to avoid the local system's Autoconf site defaults from
     breaking the test environment. (bug#76622)
-    
+
   - AM_SILENT_RULES once again always ends with a newline. (bug#72267)
 
   - AM_SANITY_CHECK now outputs "no" on failure, so that a complete line
   - AM_SILENT_RULES once again always ends with a newline. (bug#72267)
 
   - AM_SANITY_CHECK now outputs "no" on failure, so that a complete line
index b92fb3957af30f5f1f3ca22e98a967981b538b16..56f3296d78a613275e02b028e99b20dd2aeb0256 100644 (file)
@@ -1176,17 +1176,17 @@ sub parse_arguments ()
 sub parse_ACLOCAL_PATH ()
 {
   return if not $aclocal_path;
 sub parse_ACLOCAL_PATH ()
 {
   return if not $aclocal_path;
-  
+
   # Directories in ACLOCAL_PATH should take precedence over system
   # directories, so we use unshift.  However, directories that
   # come first in ACLOCAL_PATH take precedence over directories
   # coming later, which is why the result of split is reversed.
   # Directories in ACLOCAL_PATH should take precedence over system
   # directories, so we use unshift.  However, directories that
   # come first in ACLOCAL_PATH take precedence over directories
   # coming later, which is why the result of split is reversed.
-  
+
   # OS/2 and Windows (but not Cygwin, etc.) use ; for the path separator.
   # Possibly it would be cleaner to use path_sep from Config,
   # but this seems simpler.
   my $path_sep = $^O =~ /^(os2|mswin)/i ? ';' : ':';
   # OS/2 and Windows (but not Cygwin, etc.) use ; for the path separator.
   # Possibly it would be cleaner to use path_sep from Config,
   # but this seems simpler.
   my $path_sep = $^O =~ /^(os2|mswin)/i ? ';' : ':';
-  
+
   foreach my $dir (reverse split $path_sep, $aclocal_path)
     {
       unshift (@system_includes, $dir) if $dir ne '' && -d $dir;
   foreach my $dir (reverse split $path_sep, $aclocal_path)
     {
       unshift (@system_includes, $dir) if $dir ne '' && -d $dir;
index 94420b8001afc2169f43580459cf521769ee6388..f7e84ebcc8238f3584f82fdeda5d6cd36401e197 100644 (file)
@@ -5668,7 +5668,7 @@ sub scan_autoconf_files ()
     {
       require_conf_file ($required_aux_file{$file}->get, FOREIGN, $file)
     }
     {
       require_conf_file ($required_aux_file{$file}->get, FOREIGN, $file)
     }
-  
+
   my $auxdir_install_dot_sh = "$config_aux_dir/install.sh";
   # Maybe there is a way to report the line number of the
   # AC_CONFIG_AUX_DIR call in configure.ac? Don't know.
   my $auxdir_install_dot_sh = "$config_aux_dir/install.sh";
   # Maybe there is a way to report the line number of the
   # AC_CONFIG_AUX_DIR call in configure.ac? Don't know.
index 1268bc53fdcac4c934ca21758d773bea9bb0ab66..eeacee762487293678ac02f2462c6a04d185d420 100644 (file)
@@ -5744,7 +5744,7 @@ release), and Libtool in another (e.g., for general system use),
 @code{LT_INIT} won't be defined.
 
 The best solution is to run @command{libtoolize} in the tree that is
 @code{LT_INIT} won't be defined.
 
 The best solution is to run @command{libtoolize} in the tree that is
-using the separately-installed Automake.  That will copy 
+using the separately-installed Automake.  That will copy
 @file{libtool.m4} and the other Libtool M4 files and scripts into your
 package, including @file{ltmain.sh} (see previous section).  If you
 have subpackages that use Libtool independently, you'll need to run
 @file{libtool.m4} and the other Libtool M4 files and scripts into your
 package, including @file{ltmain.sh} (see previous section).  If you
 have subpackages that use Libtool independently, you'll need to run
index 5bf94fe621e16ca6376a5cab67fda713742ba4e8..af911b4d7caab88e1a2175c3ac6c18f61747fd9d 100644 (file)
@@ -754,7 +754,7 @@ sub scan_variable_expansions ($)
       # we check for $var being defined because NetworkManager and other
       # packages use the strange construct $().
       # https://lists.gnu.org/archive/html/automake/2024-06/msg00085.html
       # we check for $var being defined because NetworkManager and other
       # packages use the strange construct $().
       # https://lists.gnu.org/archive/html/automake/2024-06/msg00085.html
-      
+
       # The occurrence may look like $(string1[:subst1=[subst2]]) but
       # we want only 'string1'.
       $var =~ s/:[^:=]*=[^=]*$//;
       # The occurrence may look like $(string1[:subst1=[subst2]]) but
       # we want only 'string1'.
       $var =~ s/:[^:=]*=[^=]*$//;
index 2cef53332447e3f8f62bb7e4feeb85d5d94c6c9e..08650fbf446811d2891f7c718d486e7a2441316b 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # py-compile - Compile a Python program
 
 #!/bin/sh
 # py-compile - Compile a Python program
 
-scriptversion=2025-06-18.21; # UTC
+scriptversion=2026-04-27.20; # UTC
 
 # Copyright (C) 2000-2026 Free Software Foundation, Inc.
 
 
 # Copyright (C) 2000-2026 Free Software Foundation, Inc.
 
@@ -49,7 +49,7 @@ if $PYTHON -V 2>/dev/null | grep -i python >/dev/null; then :; else
    exit 0
   fi
 fi
    exit 0
   fi
 fi
-  
+
 usage_error ()
 {
   echo "$me: $*" >&2
 usage_error ()
 {
   echo "$me: $*" >&2
index 046a6f9e7361a7871e5632c11bb5c834c611d174..587ca2839954d7d9815586e6936709c51d8de92b 100644 (file)
@@ -36,7 +36,7 @@ am_cv_filesystem_timestamp_resolution=2
 # 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.
 # 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
 # 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
@@ -109,7 +109,7 @@ for am_try_res in $am_try_resolutions; do
       # 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
       # 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)
       # 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)
index 519cabac071a57b5c5989e5d208aec3be267db9e..1e170c748964f196887e1f3f8c8d6d030c7dd6d2 100644 (file)
--- a/t/all.sh
+++ b/t/all.sh
@@ -27,7 +27,7 @@ $AUTOMAKE
 
 for target in $targets; do
   grep "${target}-local" Makefile.in # For debugging.
 
 for target in $targets; do
   grep "${target}-local" Makefile.in # For debugging.
-  
+
   # This grep fails, thus the test is listed in XFAIL.
   # We're checking that (e.g.) all-am does not depend on all-local,
   # but why?
   # This grep fails, thus the test is listed in XFAIL.
   # We're checking that (e.g.) all-am does not depend on all-local,
   # but why?
index efa26f2f65c7763e21b4bdbdf56f40b4371bfb27..d0021d05a922374d60dfb15e4afd16efb70303bc 100644 (file)
@@ -198,7 +198,7 @@ case $MTIME_RESOLUTION in
       if test -n "$am_cv_filesystem_timestamp_resolution"; then
         #echo "$BASH_SOURCE: amftr=$am_cv_filesystem_timestamp_resolution" >&2
         MTIME_RESOLUTION=$am_cv_filesystem_timestamp_resolution
       if test -n "$am_cv_filesystem_timestamp_resolution"; then
         #echo "$BASH_SOURCE: amftr=$am_cv_filesystem_timestamp_resolution" >&2
         MTIME_RESOLUTION=$am_cv_filesystem_timestamp_resolution
-        
+
       elif test -n "$MTIME_RESOLUTION"; then
         #echo "$BASH_SOURCE: M_R=$MTIME_RESOLUTION" >&2
         # This is normal when running tests: the cache variable is
       elif test -n "$MTIME_RESOLUTION"; then
         #echo "$BASH_SOURCE: M_R=$MTIME_RESOLUTION" >&2
         # This is normal when running tests: the cache variable is
@@ -240,12 +240,12 @@ esac
 #   https://lists.gnu.org/archive/html/automake/2024-06/msg00054.html
 # It seems a better fix would be to have Automake (in sanity.m4) figure
 # out the need for sleep even when AC_OUTPUT is not used.
 #   https://lists.gnu.org/archive/html/automake/2024-06/msg00054.html
 # It seems a better fix would be to have Automake (in sanity.m4) figure
 # out the need for sleep even when AC_OUTPUT is not used.
-# 
+#
 # In general, the problem is when the mtime resolution is 1 second (or
 # more) and the configure file is created less than 1 second ago, which
 # happens routinely in the tests, and for many fast-enough configure
 # scripts in other packages, too.
 # In general, the problem is when the mtime resolution is 1 second (or
 # more) and the configure file is created less than 1 second ago, which
 # happens routinely in the tests, and for many fast-enough configure
 # scripts in other packages, too.
-# 
+#
 # At any rate, with this set to "sleep 1", there were still random
 # parallelization failures; setting am_cv_sleep_fractional_seconds=no
 # as above was still needed.
 # At any rate, with this set to "sleep 1", there were still random
 # parallelization failures; setting am_cv_sleep_fractional_seconds=no
 # as above was still needed.
index d04f3b754826b532cc05f5d19901456e12c8b071..79c2b13569499a106c37c8b8767e992c61e559e2 100644 (file)
 . test-init.sh
 
 # the tests are almost the same, so do a loop with a couple conditionals.
 . test-init.sh
 
 # the tests are almost the same, so do a loop with a couple conditionals.
-# 
+#
 # test-init.sh creates configure.ac with an AM_INIT_AUTOMAKE call with
 # no options. The default is [no-no-]dist-built-sources, i.e., distdir
 # does depend on $(BUILT_SOURCES), so test that first. (There is no
 # Automake option named dist-built-sources, only --no-no-dist-built-sources.)
 # test-init.sh creates configure.ac with an AM_INIT_AUTOMAKE call with
 # no options. The default is [no-no-]dist-built-sources, i.e., distdir
 # does depend on $(BUILT_SOURCES), so test that first. (There is no
 # Automake option named dist-built-sources, only --no-no-dist-built-sources.)
-# 
+#
 # The second time around, add the no-dist-built-sources option,
 # and the distdir target should not depend on anything.
 #
 # The second time around, add the no-dist-built-sources option,
 # and the distdir target should not depend on anything.
 #
index 792f32b81924a28eef6ef0eea76c8e3c6077b9cc..d551b26c723fdcc03620804d974fb439c4bf1ea6 100644 (file)
 # If $(libdir) or $(pyexecdir) is the empty string, then nothing should
 # be installed there, and in fact libtool will refuse to link due to the
 # missing argument for -rpath:
 # If $(libdir) or $(pyexecdir) is the empty string, then nothing should
 # be installed there, and in fact libtool will refuse to link due to the
 # missing argument for -rpath:
-#   /bin/sh ./libtool [...] -rpath  libfoo.lo  
+#   /bin/sh ./libtool [...] -rpath  libfoo.lo
 #   libtool:   error: only absolute run-paths are allowed
 # (Hopefully the error message will be improved.)
 # Thus this test is expected to fail.
 #   libtool:   error: only absolute run-paths are allowed
 # (Hopefully the error message will be improved.)
 # Thus this test is expected to fail.
-# 
+#
 # This test exercises some of the libtool code paths.
 
 required='cc libtoolize'
 # This test exercises some of the libtool code paths.
 
 required='cc libtoolize'
index 687cfe589b3e0e5ac3f9a3a93a02912008345285..7899aaaea6042425200634e4b24cead8c82c02df 100644 (file)
@@ -16,7 +16,7 @@
 
 # Check that the user can override the tar program used by "make dist"
 # at runtime, by redefining the 'TAR' environment variable.
 
 # Check that the user can override the tar program used by "make dist"
 # at runtime, by redefining the 'TAR' environment variable.
-# 
+#
 # Currently this works only when the tar format used is 'v7';
 # as of 2025 (automake-1.18), this is no longer the default,
 # so force that format in our test setup.
 # Currently this works only when the tar format used is 'v7';
 # as of 2025 (automake-1.18), this is no longer the default,
 # so force that format in our test setup.
index bd7e1796f0668a1d751e70bbc4fb0d75e85a6ff7..a3baf688570b694224116856bcde18ec164cae32 100644 (file)
@@ -18,7 +18,7 @@
 #   Use of uninitialized value $var in string eq at
 #   .../lib/Automake/Variable.pm line 754, <GEN2> line 3.
 # (in scan_variable_expansions)
 #   Use of uninitialized value $var in string eq at
 #   .../lib/Automake/Variable.pm line 754, <GEN2> line 3.
 # (in scan_variable_expansions)
-# 
+#
 # This showed up with the NetworkManager and other packages in Fedora:
 # https://lists.gnu.org/archive/html/automake/2024-06/msg00085.html
 # (The actual purpose of the "$()" is unclear.)
 # This showed up with the NetworkManager and other packages in Fedora:
 # https://lists.gnu.org/archive/html/automake/2024-06/msg00085.html
 # (The actual purpose of the "$()" is unclear.)