From: Paul Eggert Date: Sun, 27 Oct 2024 00:00:31 +0000 (-0700) Subject: Remove some doc for no-longer-used systems; update URLs X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=85b81c91fc659dcc22e41096e4f8c7fb5f0cefc5;p=thirdparty%2Fautoconf.git Remove some doc for no-longer-used systems; update URLs --- diff --git a/ChangeLog.3 b/ChangeLog.3 index 2919b2a1..fb4b2380 100644 --- a/ChangeLog.3 +++ b/ChangeLog.3 @@ -20064,7 +20064,7 @@ 2001-12-12 Steven G. Johnson * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed - C/Fortran linking on HP/UX, by extracting the Fortran library + C/Fortran linking on HP-UX, by extracting the Fortran library search path from the LPATH line in the $F77 -v output. 2001-12-12 Kevin Ryde diff --git a/NEWS b/NEWS index 9e68534f..5b0bd368 100644 --- a/NEWS +++ b/NEWS @@ -2072,7 +2072,7 @@ Release tips: - The top level $prefix is propagated to the AC_CONFIG_SUBDIRS configures. - AC_TRY_RUN Under the user pressure, $? is finally available. Probably a mistake. -- AC_F77_LIBRARY_LDFLAGS now supports the HP/UX f90 compiler. +- AC_F77_LIBRARY_LDFLAGS now supports the HP-UX f90 compiler. - Precious variables accumulation config.status could stack several copies of the precious variables assignments. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index b4dfc50d..fc4e804c 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -5620,7 +5620,7 @@ portability problems of this function. @cvindex HAVE_STRFTIME @c @fuindex strftime @prindex @code{strftime} -Check for @code{strftime} in the @file{intl} library, for SCO Unix. +Check for @code{strftime} in the @file{intl} library. Then, if @code{strftime} is available, define @code{HAVE_STRFTIME}. This macro is obsolescent, as no current systems require the @file{intl} @@ -6102,7 +6102,7 @@ of type @code{struct dirent}, not @code{struct direct}, and would access the length of a directory entry name by passing a pointer to a @code{struct dirent} to the @code{NAMLEN} macro. -This macro also checks for the SCO Xenix @file{dir} and @file{x} libraries. +This macro also checks for the obsolete @file{dir} and @file{x} libraries. This macro is obsolescent, as all current systems with directory libraries have @code{}. New programs need not use this macro. @@ -7203,7 +7203,7 @@ etc.). @caindex prog_cxx_openmp @caindex prog_f77_openmp @caindex prog_fc_openmp -@uref{http://@/www.openmp.org/, OpenMP} specifies extensions of C, C++, +@uref{https://@/www.openmp.org/, OpenMP} specifies extensions of C, C++, and Fortran that simplify optimization of shared memory parallelism, which is a common problem on multi-core CPUs. @@ -8844,12 +8844,12 @@ compiler. Also, when using this macro in concert with @code{AC_CONFIG_HEADERS}, be sure that @file{config.h} is included before any system header. -The following preprocessor macros are defined unconditionally: +Define the following preprocessor macros unconditionally: @table @code @item _ALL_SOURCE @cvindex _ALL_SOURCE -Enable extensions on AIX 3 and Interix. +Enable extensions on AIX and z/OS. @item _DARWIN_C_SOURCE @cvindex _DARWIN_C_SOURCE Enable extensions on macOS. @@ -8922,7 +8922,7 @@ Programs that need to recognize Minix should use @code{AC_CANONICAL_HOST}. @item _XOPEN_SOURCE @cvindex _XOPEN_SOURCE Defined (with value 500) only if needed to make @file{wchar.h} declare -@code{mbstate_t}. This is known to be necessary on some versions of HP/UX. +@code{mbstate_t}. This is known to be necessary on some versions of HP-UX. @end table @cvindex __STDC_WANT_DEC_FP__ @@ -8932,7 +8932,7 @@ ISO/IEC TR 24732:2009 was superseded by ISO/IEC TS 18661-2:2015. @cvindex __STDC_WANT_LIB_EXT1__ The C preprocessor macro @code{__STDC_WANT_LIB_EXT1__} is not defined, as the C standard's Annex K is problematic. See: O'Donell C, Sebor M. -@uref{http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1967.htm, Field +@uref{https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1967.htm, Field Experience With Annex K---Bounds Checking Interfaces}. The Autoconf macro @code{AC_USE_SYSTEM_EXTENSIONS} was introduced in @@ -15427,13 +15427,13 @@ by users. 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} +The @uref{https://@/bhami.com/@/rosetta.html, Rosetta Stone for Unix} contains a table correlating the features of various Posix-conforming systems. @uref{https://@/www.levenez.com/@/unix/, Unix History} is a simplified diagram of how many Unix systems were derived from each other. -@uref{http://@/heirloom.sourceforge.net/, The Heirloom Project} +@uref{https://@/heirloom.sourceforge.net/, The Heirloom Project} provides some variants of traditional implementations of Unix utilities. @table @asis @@ -17156,11 +17156,6 @@ environment variables be set to @samp{C} if the C locale is desired; @file{configure} scripts and M4sh do that for you. Export these variables after setting them. -@c However, some older, nonstandard -@c systems (notably SCO) break if locale environment variables -@c are set to @samp{C}, so when running on these systems -@c Autoconf-generated scripts unset the variables instead. - @item LANGUAGE @evindex LANGUAGE @@ -21879,7 +21874,7 @@ alleviates some symptoms of a bug while not fixing the bug in general. Almost all modern systems use IEEE-754 floating point, and it is safe to assume IEEE-754 in most portable code these days. For more information, please see David Goldberg's classic paper -@uref{http://@/www.validlab.com/@/goldberg/@/paper.pdf, What Every Computer +@uref{https://@/www.validlab.com/@/goldberg/@/paper.pdf, What Every Computer Scientist Should Know About Floating-Point Arithmetic}. @node Exiting Portably @@ -24008,15 +24003,8 @@ Removed because of limited usefulness. @defmac AC_SCO_INTL @acindex{SCO_INTL} @ovindex LIBS -If on SCO Unix, add @option{-lintl} to output variable @code{LIBS}. This -macro used to do this: - -@example -AC_CHECK_LIB([intl], [strftime], [LIBS="-lintl $LIBS"]) -@end example - -@noindent -Now it just calls @code{AC_FUNC_STRFTIME} instead (@pxref{AC_FUNC_STRFTIME}). +Equivalent to the obsolescent macro @code{AC_FUNC_STRFTIME}. +@xref{AC_FUNC_STRFTIME}. @end defmac @defmac AC_SETVBUF_REVERSED @@ -24359,22 +24347,8 @@ Replaced by @code{AC_C_BIGENDIAN} (@pxref{AC_C_BIGENDIAN}). @defmac AC_XENIX_DIR @acindex{XENIX_DIR} @ovindex LIBS -This macro used to add @option{-lx} to output variable @code{LIBS} if on -Xenix. Also, if @file{dirent.h} is being checked for, added -@option{-ldir} to @code{LIBS}. Now it is merely an alias of -@code{AC_HEADER_DIRENT} instead, plus some code to detect whether -running XENIX on which you should not depend: - -@example -AC_MSG_CHECKING([for Xenix]) -AC_EGREP_CPP([yes], -[#if defined M_XENIX && !defined M_UNIX - yes -#endif], - [AC_MSG_RESULT([yes]); XENIX=yes], - [AC_MSG_RESULT([no]); XENIX=]) -@end example -@noindent +This macro is equivalent to the obsolescent @code{AC_HEADER_DIRENT} +macro, plus it also sets the shell variable @code{XENIX}. Don't use this macro, the dignified means to check the nature of the host is using @code{AC_CANONICAL_HOST} (@pxref{Canonicalizing}). @end defmac @@ -26538,7 +26512,7 @@ search for markers like @samp{checking for} a particular test in the @item Alternatively, you might use a shell with debugging capabilities like -@uref{http://bashdb.sourceforge.net/, bashdb}. +@uref{https://bashdb.sourceforge.net/, bashdb}. @item When @command{configure} tests produce invalid results for your system, @@ -26968,7 +26942,7 @@ introduced in this document. @c LocalWords: lstat rpl MEMCMP memcmp OpenStep MBRTOWC mbrtowc MKTIME mktime @c LocalWords: localtime MMAP mmap OBSTACK obstack obstacks ARGTYPES timeval @c LocalWords: SETPGRP setpgrp defmacx Hurd SETVBUF setvbuf STRCOLL strcoll -@c LocalWords: STRTOD strtod DECL STRFTIME strftime SCO UTIME utime VPRINTF +@c LocalWords: STRTOD strtod DECL STRFTIME strftime UTIME utime VPRINTF @c LocalWords: DOPRNT vprintf doprnt sp unfixable LIBSOURCE LIBSOURCES Eggert @c LocalWords: linux netinet ia Tru XFree DIRENT NDIR dirent ndir multitable @c LocalWords: NAMLEN strlen namlen MKDEV SYSMACROS makedev RESOLV resolv DNS @@ -27029,7 +27003,7 @@ introduced in this document. @c LocalWords: yywrap xflex lexyy YFLAGS yacc divnum libs fuindex ffs @c LocalWords: environ sigaction extern ftello nonnull STRTOLD LLONG @c LocalWords: strtold vfprintf ULLONG strcasecmp strncasecmp MSVC th -@c LocalWords: NDEBUG Xenix INO libc ISDIR ISREG Tektronix Amdahl ino +@c LocalWords: NDEBUG INO libc ISDIR ISREG Tektronix Amdahl ino @c LocalWords: typedef pxref fileblocks submembers INTMAX intmax UINT @c LocalWords: INTPTR intptr SSIZE ssize uint UINTPTR uintptr OPENMP @c LocalWords: openmp OpenMP omp Alignas Alignof Noreturn UTF vals gl diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index c994a76a..296c55a0 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -519,7 +519,7 @@ _AC_LANG_PREFIX[]FLAGS=$ac_save_[]_AC_LANG_PREFIX[]FLAGS rm -rf conftest* -# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where +# On HP-UX there is a line like: "LPATH is: /foo:/bar:/baz" where # /foo, /bar, and /baz are search directories for the Fortran linker. # Here, we change these into -L/foo -L/bar -L/baz (and put it first): ac_[]_AC_LANG_ABBREV[]_v_output=`AS_ECHO(["$ac_[]_AC_LANG_ABBREV[]_v_output"])| diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index 7395c55e..b9495b8a 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -558,7 +558,7 @@ AC_DEFUN([_AC_FUNC_FNMATCH_IF], [AC_CACHE_CHECK( [for working $1 fnmatch], [$2], - [# Some versions of Solaris, SCO, and the GNU C Library + [# Some versions of Solaris and the GNU C Library # have a broken or incompatible fnmatch. # So we run a test program. If we are cross-compiling, take no chance. # Thanks to John Oleynick, François Pinard, and Paul Eggert for this test. @@ -669,7 +669,7 @@ m4_define([_AC_FUNC_FSEEKO_TEST_PROGRAM], # Check for correctly prototyped declarations of fseeko and ftello; # define HAVE_FSEEKO if they are available. If it is necessary to # define _LARGEFILE_SOURCE=1 to make these declarations available, -# do that (this is needed on 32-bit HP/UX). We used to try defining +# do that (this is needed on 32-bit HP-UX). We used to try defining # _XOPEN_SOURCE=500 too, to work around a bug in glibc 2.1.3, but that # breaks too many other things. If you want fseeko and ftello with # glibc, upgrade to a fixed glibc. diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4 index 5dc59033..e3847c6c 100644 --- a/lib/autoconf/programs.m4 +++ b/lib/autoconf/programs.m4 @@ -586,8 +586,8 @@ case $as_dir in @%:@(( ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *)] - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root + # OSF/1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF/1 since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index b758c7d1..b0d9524e 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -339,7 +339,7 @@ AC_CONFIG_COMMANDS_PRE([_AC_SYS_YEAR2038_ENABLE])]) # 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.org/version2/whatsnew/lfs20mar.html +# https://unix.org/version2/whatsnew/lfs20mar.html # Additionally, on Linux file systems with 64-bit inodes a file that happens # to have a 64-bit inode number cannot be accessed by 32-bit applications on # Linux x86/x86_64. This can occur with file systems such as XFS and NFS. diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 index 9c733969..103d7b47 100644 --- a/lib/m4sugar/m4sh.m4 +++ b/lib/m4sugar/m4sh.m4 @@ -192,9 +192,6 @@ m4_define([_AS_DETECT_SUGGESTED_PRUNE], # and on HP-UX 11.11, see the failure of test 120 in # # -# FIXME: The code should test for the OSF bug described in -# . -# # This code is run outside any trap 0 context, hence we can simplify AS_EXIT. m4_defun([_AS_DETECT_BETTER_SHELL], dnl diff --git a/tests/torture.at b/tests/torture.at index 594299ef..cb47f0cf 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -812,7 +812,7 @@ AT_CLEANUP ## Substitute a 2000-byte string. ## ## ------------------------------- ## -# Solaris 9 /usr/ucb/sed that rejects commands longer than 4000 bytes. HP/UX +# Solaris 9 /usr/ucb/sed that rejects commands longer than 4000 bytes. HP-UX # sed dumps core around 8 KiB. However, POSIX says that sed need not # handle lines longer than 2048 bytes (including the trailing newline). # So we'll just test a 2000-byte value, and for awk, we test a line with