]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
make fetch yet again
authorZack Weinberg <zackw@panix.com>
Mon, 21 Sep 2020 18:26:17 +0000 (14:26 -0400)
committerZack Weinberg <zackw@panix.com>
Mon, 21 Sep 2020 18:26:17 +0000 (14:26 -0400)
build-aux/config.guess
lib/Autom4te/Channels.pm
lib/Autom4te/Configure_ac.pm
lib/Autom4te/FileUtils.pm
lib/Autom4te/Getopt.pm
lib/Autom4te/XFile.pm

index 9aff91cfd0388de276b1008ca45261e59a71a63f..8d70ec2b2633441cdb992d48ffbcf4c6f888ba2a 100755 (executable)
@@ -2,7 +2,7 @@
 # Attempt to guess a canonical system name.
 #   Copyright 1992-2020 Free Software Foundation, Inc.
 
-timestamp='2020-08-17'
+timestamp='2020-09-19'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -150,17 +150,15 @@ Linux|GNU|GNU/*)
        #elif defined(__dietlibc__)
        LIBC=dietlibc
        #else
+       #include <stdarg.h>
+       #ifdef __DEFINED_va_list
+       LIBC=musl
+       #else
        LIBC=gnu
        #endif
+       #endif
        EOF
        eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`"
-
-       # If ldd exists, use it to detect musl libc.
-       if command -v ldd >/dev/null && \
-               ldd --version 2>&1 | grep -q ^musl
-       then
-           LIBC=musl
-       fi
        ;;
 esac
 
index 279370d250151c3b88f84f0bc13c9c6882494403..83090e8627758306a53f072b65db7094c03318cf 100644 (file)
@@ -74,19 +74,19 @@ use Carp;
 use Exporter;
 use File::Basename;
 
-use vars qw (@EXPORT @ISA %channels $me);
-@ISA = qw (Exporter);
-@EXPORT = qw ($exit_code $warnings_are_errors
-             &reset_local_duplicates &reset_global_duplicates
-             &register_channel &msg &exists_channel &channel_type
-             &setup_channel &setup_channel_type
-             &dup_channel_setup &drop_channel_setup
-             &buffer_messages &flush_messages
-             &setup_channel_queue &pop_channel_queue
-             US_GLOBAL US_LOCAL
-             UP_NONE UP_TEXT UP_LOC_TEXT);
-
-$me = basename $0;
+our @ISA = qw (Exporter);
+our @EXPORT = qw ($exit_code $warnings_are_errors
+                 &reset_local_duplicates &reset_global_duplicates
+                 &register_channel &msg &exists_channel &channel_type
+                 &setup_channel &setup_channel_type
+                 &dup_channel_setup &drop_channel_setup
+                 &buffer_messages &flush_messages
+                 &setup_channel_queue &pop_channel_queue
+                 US_GLOBAL US_LOCAL
+                 UP_NONE UP_TEXT UP_LOC_TEXT);
+
+our %channels;
+our $me = basename $0;
 
 =head2 Global Variables
 
@@ -99,8 +99,7 @@ the C<exit_code> options of C<fatal> and C<error> channels.
 
 =cut
 
-use vars qw ($exit_code);
-$exit_code = 0;
+our $exit_code = 0;
 
 =item C<$warnings_are_errors>
 
@@ -109,8 +108,7 @@ errors (i.e. if they should update C<$exit_code>).
 
 =cut
 
-use vars qw ($warnings_are_errors);
-$warnings_are_errors = 0;
+our $warnings_are_errors = 0;
 
 =back
 
@@ -260,11 +258,8 @@ be ignored.
 
 =cut
 
-use vars qw (%_default_options %_global_duplicate_messages
-            %_local_duplicate_messages);
-
 # Default options for a channel.
-%_default_options =
+our %_default_options =
   (
    type => 'warning',
    exit_code => 1,
@@ -284,8 +279,8 @@ use vars qw (%_default_options %_global_duplicate_messages
 # Filled with output messages as keys, to detect duplicates.
 # The value associated with each key is the number of occurrences
 # filtered out.
-%_local_duplicate_messages = ();
-%_global_duplicate_messages = ();
+our %_local_duplicate_messages = ();
+our %_global_duplicate_messages = ();
 
 sub _reset_duplicates (\%)
 {
@@ -404,8 +399,7 @@ sub _format_sub_message ($$)
 }
 
 # Store partial messages here. (See the 'partial' option.)
-use vars qw ($partial);
-$partial = '';
+our $partial = '';
 
 # _format_message ($LOCATION, $MESSAGE, %OPTIONS)
 # -----------------------------------------------
@@ -620,11 +614,9 @@ both print
 =cut
 
 
-use vars qw (@backlog %buffering);
-
 # See buffer_messages() and flush_messages() below.
-%buffering = ();       # The map of channel types to buffer.
-@backlog = ();         # The buffer of messages.
+our %buffering = ();   # The map of channel types to buffer.
+our @backlog = ();             # The buffer of messages.
 
 sub msg ($$;$%)
 {
@@ -716,9 +708,8 @@ entry, while C<drop_channel_setup ()> just deletes it.
 
 =cut
 
-use vars qw (@_saved_channels @_saved_werrors);
-@_saved_channels = ();
-@_saved_werrors = ();
+our @_saved_channels = ();
+our @_saved_werrors = ();
 
 sub dup_channel_setup ()
 {
index d3f095d5e03ed2e3d17229eb177b409830606c7a..78b161bce88871fe598ac88a6fe7877e91c92bbb 100644 (file)
@@ -29,9 +29,8 @@ use Exporter;
 use Autom4te::ChannelDefs;
 use Autom4te::Channels;
 
-use vars qw (@EXPORT @ISA);
-@ISA = qw (Exporter);
-@EXPORT = qw (&find_configure_ac &require_configure_ac);
+our @ISA = qw (Exporter);
+our @EXPORT = qw (&find_configure_ac &require_configure_ac);
 
 =head1 NAME
 
index fcdf48e6ac5dce070e04c12066b868a1bd9c7ab3..a182031b44cbbe60a3027be0eb27ddcaeb208255 100644 (file)
@@ -45,14 +45,13 @@ use IO::File;
 use Autom4te::Channels;
 use Autom4te::ChannelDefs;
 
-use vars qw (@EXPORT @ISA);
-@ISA = qw (Exporter);
-@EXPORT = qw (&contents
-             &find_file &mtime
-             &update_file
-             &xsystem &xsystem_hint &xqx
-             &dir_has_case_matching_file &reset_dir_cache
-             &set_dir_cache_file);
+our @ISA = qw (Exporter);
+our @EXPORT = qw (&contents
+                 &find_file &mtime
+                 &update_file
+                 &xsystem &xsystem_hint &xqx
+                 &dir_has_case_matching_file &reset_dir_cache
+                 &set_dir_cache_file);
 
 =over 4
 
@@ -332,7 +331,7 @@ same file).
 
 =cut
 
-use vars '%_directory_cache';
+our %_directory_cache;
 sub dir_has_case_matching_file ($$)
 {
   # Note that print File::Spec->case_tolerant returns 0 even on MacOS
@@ -383,4 +382,6 @@ sub set_dir_cache_file ($$)
 
 =back
 
+=cut
+
 1; # for require
index f70a5c585fef722b2c725faeae387370904fd6da..c32c2cce5f9f98284b1d40dd2a578b80773d8520 100644 (file)
@@ -40,9 +40,8 @@ use Getopt::Long ();
 
 use Autom4te::ChannelDefs qw (fatal);
 
-use vars qw (@EXPORT @ISA);
-@ISA = qw (Exporter);
-@EXPORT = qw (getopt);
+our @ISA = qw (Exporter);
+our @EXPORT = qw (getopt);
 
 =item C<parse_options (%option)>
 
index 143b8b4325ccaa06fcbd9213eac34125c78a2a7d..fcc0e68ba2516508b62457e85e1049cf299cbaf6 100644 (file)
@@ -81,10 +81,9 @@ use Autom4te::ChannelDefs;
 use Autom4te::Channels qw (msg);
 use Autom4te::FileUtils;
 
-use vars qw ($AUTOLOAD @EXPORT @EXPORT_OK @ISA $VERSION);
-@ISA = qw(Exporter IO::File);
-@EXPORT = @IO::File::EXPORT;
-$VERSION = "1.2";
+our @ISA = qw(Exporter IO::File);
+our @EXPORT = @IO::File::EXPORT;
+our $VERSION = "1.2";
 
 eval {
   # Make all Fcntl O_XXX and LOCK_XXX constants available for importing