diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-07-30 18:51:14 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-07-30 18:51:59 -0700 |
commit | 15edf7fd8094fd14a89d9891dd72a9624762597a (patch) | |
tree | 5c8100dbbe97e4b7baa29550d28856e4fa0e2529 | |
parent | df7e1cdbdf012fb2c767836e16639850e7b23818 (diff) | |
download | autoconf-15edf7fd8094fd14a89d9891dd72a9624762597a.tar.gz |
Remove obsolete Cray support
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
-rw-r--r-- | doc/autoconf.texi | 14 | ||||
-rw-r--r-- | lib/autoconf/functions.m4 | 20 |
2 files changed, 5 insertions, 29 deletions
diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 8497f46f..d4d43317 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -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 diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index 718503f5..46c4a115 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -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( |