From dc08b45c63bf3e829deaee931cbd1855f23716f7 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sun, 31 Oct 1999 02:37:40 +0000 Subject: [PATCH] 1999-10-31 Akim Demaille * autoheader.m4 (AC_FUNC_ALLOCA): Rename from this ... (AH_FUNC_ALLOCA): ... to this. Includes all the needed templates. (AC_C_CHAR_UNSIGNED): Rename from this ... (AH_C_CHAR_UNSIGNED): ... to this. --- ChangeLog | 7 +++++++ autoheader.m4 | 27 ++++++++++++++++++++------- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 98924ce5..e3246773 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +1999-10-31 Akim Demaille + + * autoheader.m4 (AC_FUNC_ALLOCA): Rename from this ... + (AH_FUNC_ALLOCA): ... to this. Includes all the needed templates. + (AC_C_CHAR_UNSIGNED): Rename from this ... + (AH_C_CHAR_UNSIGNED): ... to this. + 1999-10-31 Ben Elliston * Makefile.am (CLEANFILES): New explicit variable. diff --git a/autoheader.m4 b/autoheader.m4 index 503c8ba7..dd0ca300 100644 --- a/autoheader.m4 +++ b/autoheader.m4 @@ -116,24 +116,37 @@ define([AH_PROG_LEX], [AH_CHECK_LIB(fl) AH_CHECK_LIB(l)]) -define([AC_FUNC_ALLOCA], -[AH_VERBATIM([STACK_DIRECTION], +define([AH_FUNC_ALLOCA], +[AH_TEMPLATE(HAVE_ALLOCA_H, + [Define if you have and it should be used + (not on Ultrix).]) +AH_TEMPLATE(HAVE_ALLOCA, + [Define if you have `alloca', as a function or macro.]) +AH_TEMPLATE(C_ALLOCA, [Define if using `alloca.c'.]) +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_VERBATIM([STACK_DIRECTION], [/* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ #undef STACK_DIRECTION -])]) +]) +])dnl AH_FUNC_ALLOCA -define([AC_C_CHAR_UNSIGNED], + +define([AH_C_CHAR_UNSIGNED], [AH_VERBATIM([__CHAR_UNSIGNED__], [/* Define if type `char' is unsigned and you are not using gcc. */ #ifndef __CHAR_UNSIGNED__ # undef __CHAR_UNSIGNED__ #endif])]) + define([AH_AIX], [AH_VERBATIM([_ALL_SOURCE], [/* Define if on AIX 3. -- 2.47.2