]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Remove obsolete Cray support
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 31 Jul 2020 01:51:14 +0000 (18:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 31 Jul 2020 01:51:59 +0000 (18:51 -0700)
Gnulib removed this recently, and we should be consistent.
* doc/autoconf.texi (Autoheader Macros):
Use a more up-to-date example.
* lib/autoconf/functions.m4 (CRAY_STACKSEG_END): Remove.
This is backported from the following Gnulib patch:
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=41a2d446c7984f8f39e3eeca40c6d30630969c10

doc/autoconf.texi
lib/autoconf/functions.m4

index 8497f46fe4f817dc079c98e1672b3c115ed2f71a..d4d43317d8740b16272c74ebbc2e5dde768335d5 100644 (file)
@@ -3551,11 +3551,9 @@ generates standard templates just like @code{AC_DEFINE} when a
 For example:
 
 @example
-AH_TEMPLATE([CRAY_STACKSEG_END],
-            [Define to one of _getb67, GETB67, getb67
-             for Cray-2 and Cray-YMP systems.  This
-             function is required for alloca.c support
-             on those systems.])
+AH_TEMPLATE([NULL_DEVICE],
+  [Name of the file to open to get
+   a null file, or a data sink.])
 @end example
 
 @noindent
@@ -3563,10 +3561,8 @@ generates the following template, with the description properly
 justified.
 
 @example
-/* Define to one of _getb67, GETB67, getb67 for Cray-2 and
-   Cray-YMP systems.  This function is required for alloca.c
-   support on those systems.  */
-#undef CRAY_STACKSEG_END
+/* Name of the file to open to get a null file, or a data sink. */
+#undef NULL_DEVICE
 @end example
 @end defmac
 
index 718503f5bb37e52a89dba73a04080958ddf8f7de..46c4a115c1495402d1655cdbe99ffe3aa8dedfd5 100644 (file)
@@ -370,26 +370,6 @@ AC_LIBSOURCES(alloca.c)
 AC_SUBST([ALLOCA], [\${LIBOBJDIR}alloca.$ac_objext])dnl
 AC_DEFINE(C_ALLOCA, 1, [Define to 1 if using `alloca.c'.])
 
-AC_CACHE_CHECK(whether `alloca.c' needs Cray hooks, ac_cv_os_cray,
-[AC_EGREP_CPP(webecray,
-[#if defined CRAY && ! defined CRAY2
-webecray
-#else
-wenotbecray
-#endif
-], ac_cv_os_cray=yes, ac_cv_os_cray=no)])
-if test $ac_cv_os_cray = yes; then
-  for ac_func in _getb67 GETB67 getb67; do
-    AC_CHECK_FUNC($ac_func,
-                 [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func,
-                                     [Define to one of `_getb67', `GETB67',
-                                      `getb67' for Cray-2 and Cray-YMP
-                                      systems. This function is required for
-                                      `alloca.c' support on those systems.])
-    break])
-  done
-fi
-
 AC_CACHE_CHECK([stack direction for C alloca],
               [ac_cv_c_stack_direction],
 [AC_RUN_IFELSE([AC_LANG_SOURCE(