From b0ee838e1193899d28f0bfb51192a02d48e4b472 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 23 Sep 2017 12:45:22 -0700 Subject: [PATCH] maint: update URLs Most of this is replacing http: with https: when either will do. --- ChangeLog.3 | 22 ++++++++-------- README-hacking | 6 ++--- TODO | 10 +++----- doc/autoconf.texi | 55 ++++++++++++++++++---------------------- lib/Autom4te/General.pm | 2 +- lib/autoconf/c.m4 | 3 +-- lib/autoconf/headers.m4 | 2 -- lib/autoconf/specific.m4 | 2 +- tests/base.at | 8 +++--- tests/compile.at | 8 +++--- tests/m4sh.at | 4 +-- 11 files changed, 55 insertions(+), 67 deletions(-) diff --git a/ChangeLog.3 b/ChangeLog.3 index cb8023e5..02409820 100644 --- a/ChangeLog.3 +++ b/ChangeLog.3 @@ -280,7 +280,7 @@ Motivated by automake bug#9245: and FreeBSD PR bin/159730: - + * doc/autoconf.texi (Parallel Make): Document other BSD make incompatibilities. Reorganize the existing related documentation accordingly. @@ -853,7 +853,7 @@ * tests/m4sh.at (AS@&t@_TR_SH and AS@&t@_TR_CPP) (AS@&t@_LITERAL_IF): Expand tests. * NEWS: Document the fix. - Reported via Ben Pfaff; originally http://bugs.debian.org/593838 + Reported via Ben Pfaff; originally https://bugs.debian.org/593838 2010-09-24 Joshua G. Hale (tiny change) @@ -4198,7 +4198,7 @@ * doc/autoconf.texi (Limitations of Usual Tools) : Mention HP-UX limitation, and $ ambiguity. * THANKS: Update. - Reported by Jens Schmidt, in http://bugs.debian.org/466990. + Reported by Jens Schmidt, in https://bugs.debian.org/466990. 2009-03-17 Jim Meyering @@ -4221,7 +4221,7 @@ (Generic Programs): Adjust references. * doc/install.texi (System Type): Touch up formatting. * THANKS: Update. - Reported by Tim Freeman, in http://bugs.debian.org/312873. + Reported by Tim Freeman, in https://bugs.debian.org/312873. Remove historical inaccuracy. * doc/autoconf.texi (Portable Shell): Don't perpetuate myth about @@ -9679,7 +9679,7 @@ * doc/autoconf.texi (autoreconf Invocation): Document ACLOCAL_AMFLAGS limitation reported by Leo Moisio in - . + . 2007-07-03 Paul Eggert @@ -10260,7 +10260,7 @@ * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Define HAVE_GETMNTENT to 1, not to the empty string. Problem originally reported by Jochen Friedrich in - . + . This change prompted by a problem report by Andrey Simonenko in . @@ -10388,7 +10388,7 @@ * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Check that fseeko can be assigned to a function pointer. Problem reported by - Peter Palfrader in . Based on + Peter Palfrader in . Based on part of a patch by Ralf Wildenhues in that same bug report. 2006-12-01 Paul Eggert @@ -11177,7 +11177,7 @@ * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test to catch glibc bug 2821 - . + . Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and @@ -11284,7 +11284,7 @@ (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code didn't work if some values were cached but not others. Test for broken lex libraries like native ia64-hp-hpux11.22; see - , and + , and work around the problem by preferring an empty LEXLIB to -lfl or -ll. Let the user set LEXLIB='' to indicate no library needed. @@ -11738,7 +11738,7 @@ * doc/autoconf.texi (Initializing configure, Shell Substitutions): Warn about $@ not persisting. Problem reported by Julien Danjou in - . + . (Special Chars in Names): Renamed from Leading _ in Macro Names. Mention other special chars, too. @@ -17481,7 +17481,7 @@ resulting namespace pollution would cause other tests to fail. Configure scripts run with some older versions of g++ and HP's aCC would fail due to such an #include. Problems reported by - Matthew Mueller in and by + Matthew Mueller in and by Keith Bostic in . In the test, use the test declaration before including , diff --git a/README-hacking b/README-hacking index 695949f1..068f9106 100644 --- a/README-hacking +++ b/README-hacking @@ -18,7 +18,7 @@ tools we depend upon, including: - Automake 1.10+ - Help2man 1.29+ - M4 1.4.6+ -- Perl 5.006+ +- Perl 5.006+ - Texinfo 4.8+ The following are useful as well, if you want to be able to run commands @@ -26,13 +26,13 @@ like "make dist-lzma" or "make distcheck": - Gzip - Tar -- LZMA Utils 4.32+ +- LZMA Utils 4.32+ Although we try to keep the CVS mirror of the git repository usable, some of the tests in the testsuite will fail if git was not used to generate the version string. Therefore, we recommend: -- Git 1.4.4+ +- Git 1.4.4+ You may find it useful to install the git-merge-changelog merge driver: https://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/git-merge-changelog.c diff --git a/TODO b/TODO index b90d9993..e7aae339 100644 --- a/TODO +++ b/TODO @@ -189,12 +189,10 @@ it. > Maybe it should really be called X_CPPFLAGS? Well, perhaps. If you feel strongly about this, feel free to submit a -change-request. There is a hyperlink to the bug tracking database from -http://sourceware.cygnus.com/autoconf/. With the way it reads in the -manual right now, it's designed to allow the user to set additional flags -in the environment prior to running configure--and these don't need to be -limited to just -I flags. Nevertheless, I can see a few clean ways to -improve this. +change-request. With the way it reads in the manual right now, it's +designed to allow the user to set additional flags in the environment +prior to running configure--and these don't need to be limited to just +-I flags. Nevertheless, I can see a few clean ways to improve this. ** AC_SYS_INTERPRETER Defines $interpval. This is not a standard name. Do we want to keep diff --git a/doc/autoconf.texi b/doc/autoconf.texi index e6e2514b..b3517c88 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -730,7 +730,7 @@ configuration scripts can be regenerated automatically to take advantage of the updated code. @c "Those who do not understand Unix are condemned to reinvent it, poorly." -@c --Henry Spencer, 1987 (see http://en.wikipedia.org/wiki/Unix_philosophy) +@c --Henry Spencer, 1987 (see https://en.wikipedia.org/wiki/Unix_philosophy) Those who do not understand Autoconf are condemned to reinvent it, poorly. The primary goal of Autoconf is making the @emph{user's} life easier; making the @emph{maintainer's} life easier is only a secondary goal. @@ -954,10 +954,10 @@ the GNU build tools. @item Web The project home pages for -@uref{http://@/www@/.gnu@/.org/@/software/@/autoconf/, Autoconf}, -@uref{http://@/www@/.gnu@/.org/@/software/@/automake/, Automake}, -@uref{http://@/www@/.gnu@/.org/@/software/@/gnulib/, Gnulib}, and -@uref{http://@/www@/.gnu@/.org/@/software/@/libtool/, Libtool}. +@uref{https://@/www@/.gnu@/.org/@/software/@/autoconf/, Autoconf}, +@uref{https://@/www@/.gnu@/.org/@/software/@/automake/, Automake}, +@uref{https://@/www@/.gnu@/.org/@/software/@/gnulib/, Gnulib}, and +@uref{https://@/www@/.gnu@/.org/@/software/@/libtool/, Libtool}. @item Automake Manual @@ -971,7 +971,7 @@ Libtool}@footnote{@cite{GNU Autoconf, Automake and Libtool}, by G. V. Vaughan, B. Elliston, T. Tromey, and I. L. Taylor. SAMS (originally New Riders), 2000, ISBN 1578701902.} describes the complete GNU build environment. You can also find -@uref{http://@/sources.redhat.com/@/autobook/, the entire book on-line}. +@uref{https://@/www.sourceware.org/@/autobook/, the entire book on-line}. @end itemize @@ -8587,7 +8587,7 @@ if the system supports @samp{#!}, @samp{no} if not. @cindex Large file support @cindex LFS Arrange for 64-bit file offsets, known as -@uref{http://@/www.unix-systems@/.org/@/version2/@/whatsnew/@/lfs20mar.html, +@uref{http://@/www.unix.org/@/version2/@/whatsnew/@/lfs20mar.html, large-file support}. On some hosts, one must use special compiler options to build programs that can access large files. Append any such options to the output variable @code{CC}. Define @@ -9170,7 +9170,7 @@ For instance, executing (observe the double quotation!): @example @c If you change this example, adjust tests/compile.at:AC_LANG_SOURCE example. AC_INIT([Hello], [1.0], [bug-hello@@example.org], [], - [http://www.example.org/]) + [https://www.example.org/]) AC_DEFINE([HELLO_WORLD], ["Hello, World\n"], [Greetings string.]) AC_LANG([C]) @@ -9192,7 +9192,7 @@ on a system with @command{gcc} installed, results in: #define PACKAGE_VERSION "1.0" #define PACKAGE_STRING "Hello 1.0" #define PACKAGE_BUGREPORT "bug-hello@@example.org" -#define PACKAGE_URL "http://www.example.org/" +#define PACKAGE_URL "https://www.example.org/" #define HELLO_WORLD "Hello, World\n" const char hw[] = "Hello, World\n"; @@ -9215,7 +9215,7 @@ For instance: @example @c If you change this example, adjust tests/compile.at:AC_LANG_PROGRAM example. AC_INIT([Hello], [1.0], [bug-hello@@example.org], [], - [http://www.example.org/]) + [https://www.example.org/]) AC_DEFINE([HELLO_WORLD], ["Hello, World\n"], [Greetings string.]) AC_LANG_CONFTEST( @@ -9237,7 +9237,7 @@ on a system with @command{gcc} installed, results in: #define PACKAGE_VERSION "1.0" #define PACKAGE_STRING "Hello 1.0" #define PACKAGE_BUGREPORT "bug-hello@@example.org" -#define PACKAGE_URL "http://www.example.org/" +#define PACKAGE_URL "https://www.example.org/" #define HELLO_WORLD "Hello, World\n" const char hw[] = "Hello, World\n"; @@ -9615,14 +9615,13 @@ This section aims at presenting some systems and pointers to documentation. It may help you addressing particular problems reported by users. -@uref{http://@/www.opengroup.org/@/susv3, Posix-conforming systems} are -derived from the -@uref{http://@/www.bell-labs.com/@/usr/@/dmr/@/www/@/hist.html, Unix -operating system}. +@uref{https://@/en.wikipedia.org/@/wiki/@/POSIX, Posix-conforming +systems} are derived from the +@uref{https://@/en.wikipedia.org/@/wiki/@/Unix, Unix operating system}. The @uref{http://@/bhami.com/@/rosetta.html, Rosetta Stone for Unix} contains a table correlating the features of various Posix-conforming -systems. @uref{http://@/www.levenez.com/@/unix/, Unix History} is a +systems. @uref{https://@/www.levenez.com/@/unix/, Unix History} is a simplified diagram of how many Unix systems were derived from each other. @@ -9654,13 +9653,7 @@ QNX is a realtime operating system running on Intel architecture meant to be scalable from the small embedded systems to the hundred processor super-computer. It claims to be Posix certified. More information is available on the -@uref{http://@/www.qnx.com/, QNX home page}. - -@item Tru64 -@cindex Tru64 -@uref{http://@/h30097.www3.hp.com/@/docs/, -Documentation of several versions of Tru64} is available in different -formats. +@uref{https://@/blackberry.qnx.com/@/en, QNX home page}. @item Unix version 7 @cindex Unix version 7 @@ -9668,7 +9661,8 @@ formats. Officially this was called the ``Seventh Edition'' of ``the UNIX time-sharing system'' but we use the more-common name ``Unix version 7''. Documentation is available in the -@uref{http://@/plan9.bell-labs.com/@/7thEdMan/, Unix Seventh Edition Manual}. +@uref{https://@/s3.amazonaws.com/@/plan9-bell-labs/@/7thEdMan/@/index.html, +Unix Seventh Edition Manual}. Previous versions of Unix are called ``Unix version 6'', etc., but they were not as widely used. @end table @@ -15117,7 +15111,7 @@ On the other hand, if you're using M4sh you can assume that the shell has the features that were added in SVR2 (circa 1984), including shell functions, @command{return}, @command{unset}, and I/O redirection for builtins. For -more information, refer to @uref{http://@/www.in-ulm.de/@/~mascheck/@/bourne/}. +more information, refer to @uref{https://@/www.in-ulm.de/@/~mascheck/@/bourne/}. However, some pitfalls have to be avoided for portable use of these constructs; these will be documented in the rest of this chapter. See in particular @ref{Shell Functions} and @ref{Limitations of @@ -15140,8 +15134,8 @@ Some of these external utilities have a portable subset of features; see There are other sources of documentation about shells. The specification for the Posix -@uref{http://@/www.opengroup.org/@/susv3/@/utilities/@/xcu_chap02@/.html, Shell -Command Language}, though more generous than the restrictive shell +@uref{http://@/pubs.opengroup.org/@/onlinepubs/@/9699919799/@/utilities/@/V3_chap02.html, +Shell Command Language}, though more generous than the restrictive shell subset described above, is fairly portable nowadays. Also please see @uref{http://@/www.faqs.org/@/faqs/@/unix-faq/@/shell/, the Shell FAQs}. @@ -15664,7 +15658,7 @@ headaches. This is worsened by the fact that various different, mutually incompatible approaches are possible in this area, each with its distinctive merits and demerits. A detailed description of these possible approaches, as well as of their pros and cons, can be found in -@uref{http://www.cons.org/cracauer/sigint.html, this article}. +@uref{https://www.cons.org/cracauer/sigint.html, this article}. Solaris 10 @command{/bin/sh} automatically traps most signals by default; @c See: @@ -15733,7 +15727,6 @@ these shells. OTOH, some other shells doesn't special-case the handling of @code{SIGQUIT}; among these shells are at least @code{pdksh} 5.2.14, Solaris 10 and NetBSD 5.1 @code{/bin/sh}, and the Almquist Shell 0.5.5.1. -@c See: Some shells (especially Korn shells and derivatives) might try to propagate to themselves a signal that has killed a child process; this is not a bug, but a conscious design choice (although its overall value might @@ -18101,7 +18094,7 @@ set -ex The option @option{-e} has historically been underspecified, with enough ambiguities to cause numerous differences across various shell implementations; see for example -@uref{http://www.in-ulm.de/@/~mascheck/@/various/@/set-e/, this overview}, +@uref{https://www.in-ulm.de/@/~mascheck/@/various/@/set-e/, this overview}, or @uref{http://www.austingroupbugs.net/@/view.php?id=52, this link}, documenting a change to Posix 2008 to match @command{ksh88} behavior. Note that mixing @code{set -e} and shell functions is asking for surprises: @@ -21252,7 +21245,7 @@ GCC, gcc, Using the GNU Compiler Collection (GCC)}, @end ifnothtml for a list of C-related standards. Many programs also assume the -@uref{http://@/www.opengroup.org/@/susv3, Posix standard}. +@uref{https://@/en.wikipedia.org/@/wiki/@/POSIX, Posix standard}. Some old code is written to be portable to K&R C, which predates any C standard. K&R C compilers are no longer of practical interest, though, diff --git a/lib/Autom4te/General.pm b/lib/Autom4te/General.pm index 925b2531..6162fd52 100644 --- a/lib/Autom4te/General.pm +++ b/lib/Autom4te/General.pm @@ -13,7 +13,7 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# along with this program. If not, see . package Autom4te::General; diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index e66b1580..42c6ac1b 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -1845,8 +1845,7 @@ fi # AC_C_RESTRICT # ------------- -# based on acx_restrict.m4, from the GNU Autoconf Macro Archive at: -# http://autoconf-archive.cryp.to/acx_restrict.html +# based on acx_restrict.m4, from the GNU Autoconf Macro Archive # # Determine whether the C/C++ compiler supports the "restrict" keyword # introduced in ANSI C99, or an equivalent. Define "restrict" to the alternate diff --git a/lib/autoconf/headers.m4 b/lib/autoconf/headers.m4 index c6e659c2..fbc3d07e 100644 --- a/lib/autoconf/headers.m4 +++ b/lib/autoconf/headers.m4 @@ -484,8 +484,6 @@ fi # AC_HEADER_RESOLV # ---------------- -# According to http://www.mcsr.olemiss.edu/cgi-bin/man-cgi?resolver+3 -# (or http://www.chemie.fu-berlin.de/cgi-bin/man/sgi_irix?resolver+3), # sys/types.h, netinet/in.h and arpa/nameser.h are required on IRIX. # netinet/in.h is needed on Cygwin, too. # With Solaris 9, netdb.h is required, to get symbols like HOST_NOT_FOUND. diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 573f017c..99cc6044 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -130,7 +130,7 @@ rm -rf conftest*[]dnl # By default, many hosts won't let programs access large files; # one must use special compiler options to get large-file access to work. # For more details about this brain damage please see: -# http://www.unix-systems.org/version2/whatsnew/lfs20mar.html +# http://www.unix.org/version2/whatsnew/lfs20mar.html AC_DEFUN([AC_SYS_LARGEFILE], [AC_ARG_ENABLE(largefile, [ --disable-largefile omit support for large files]) diff --git a/tests/base.at b/tests/base.at index 14809d40..d9a084b6 100644 --- a/tests/base.at +++ b/tests/base.at @@ -227,7 +227,7 @@ AT_SETUP([AC_INIT with unusual version strings]) AT_DATA([configure.ac], [[AC_INIT([GNU String++ with spaces (foo)], - [2.48++ (2010-07-03)], [[http://example.com/?a=b&c=d#e]], [clisp]) + [2.48++ (2010-07-03)], [[https://example.com/?a=b&c=d#e]], [clisp]) AC_OUTPUT ]]) @@ -253,7 +253,7 @@ AT_CHECK([$FGREP '2.48++ (2010-07-03)' stdout], [], [ignore]) AT_DATA([configure.ac], [[AC_INIT([GNU "String++"], - [2.48], [http://example.com/], [clisp]) + [2.48], [https://example.com/], [clisp]) AC_OUTPUT ]]) @@ -262,7 +262,7 @@ AT_CHECK([grep 'AC_INIT: not a literal: ' stderr], [], [ignore]) AT_DATA([configure.ac], [[AC_INIT([GNU String++], - ['codename' 2.48], [http://example.com/], [clisp]) + ['codename' 2.48], [https://example.com/], [clisp]) AC_OUTPUT ]]) @@ -271,7 +271,7 @@ AT_CHECK([grep 'AC_INIT: not a literal: ' stderr], [], [ignore]) AT_DATA([configure.ac], [[AC_INIT([GNU -String++], [2.48], [http://example.com/], [clisp]) +String++], [2.48], [https://example.com/], [clisp]) AC_OUTPUT ]]) diff --git a/tests/compile.at b/tests/compile.at index a54d74ec..29374529 100644 --- a/tests/compile.at +++ b/tests/compile.at @@ -178,7 +178,7 @@ AT_DATA([configure.ac], [[# Taken from autoconf.texi:Generating Sources. # The only change is to not fail if gcc doesn't work. AC_INIT([Hello], [1.0], [bug-hello@example.org], [], - [http://www.example.org/]) + [https://www.example.org/]) AC_DEFINE([HELLO_WORLD], ["Hello, World\n"], [Greetings string.]) AC_LANG([C]) @@ -199,7 +199,7 @@ AT_CHECK([sed -n 's/ *$//; /#define PACKAGE/,$p' stdout], [], #define PACKAGE_VERSION "1.0" #define PACKAGE_STRING "Hello 1.0" #define PACKAGE_BUGREPORT "bug-hello@example.org" -#define PACKAGE_URL "http://www.example.org/" +#define PACKAGE_URL "https://www.example.org/" #define HELLO_WORLD "Hello, World\n" const char hw[] = "Hello, World\n"; @@ -223,7 +223,7 @@ AT_DATA([configure.ac], [[# Taken from autoconf.texi:Generating Sources. # The only change is to not fail if gcc doesn't work. AC_INIT([Hello], [1.0], [bug-hello@example.org], [], - [http://www.example.org/]) + [https://www.example.org/]) AC_DEFINE([HELLO_WORLD], ["Hello, World\n"], [Greetings string.]) AC_LANG_CONFTEST( @@ -244,7 +244,7 @@ AT_CHECK([sed -n 's/ *$//; /#define PACKAGE/,$p' stdout], [], #define PACKAGE_VERSION "1.0" #define PACKAGE_STRING "Hello 1.0" #define PACKAGE_BUGREPORT "bug-hello@example.org" -#define PACKAGE_URL "http://www.example.org/" +#define PACKAGE_URL "https://www.example.org/" #define HELLO_WORLD "Hello, World\n" const char hw[] = "Hello, World\n"; diff --git a/tests/m4sh.at b/tests/m4sh.at index 1baaf44b..e9d70b02 100644 --- a/tests/m4sh.at +++ b/tests/m4sh.at @@ -764,7 +764,7 @@ AT_CLEANUP ## Negated classes in globbing. ## ## ----------------------------- ## -# According to http://www.in-ulm.de/~mascheck/bourne/, all shells with +# According to https://www.in-ulm.de/~mascheck/bourne/, all shells with # functions also support `[!...]'. But `[^...]' is not universally supported. AT_SETUP([Negated classes in globbing]) @@ -792,7 +792,7 @@ AT_CLEANUP ## Null variable substitution. ## ## ---------------------------- ## -# According to http://www.in-ulm.de/~mascheck/bourne/, all shells with +# According to https://www.in-ulm.de/~mascheck/bourne/, all shells with # functions also support `${a:-b}'. AT_SETUP([Null variable substitution]) -- 2.47.2