Commit e92b6c88 authored by Paul Eggert's avatar Paul Eggert
Browse files

* Port alloca to AIX 3.

parent 8462fc0c
......@@ -4,7 +4,8 @@
* .bzrignore: Add lib/alloca.h.
* (GNULIB_MODULES): Add alloca-opt.
* (AC_FUNC_ALLOCA): Remove almost all the alloca stuff,
as gnulib now does that for us. Put alloca check after gl_INIT.
as gnulib now does that for us. Put alloca check in config.h.
Include <alloca.h> before any other include file, for AIX 3.
* lib/, m4/gl-comp.m4: Regenerate.
* lib/, m4/alloca.m4: New files, from gnulib.
......@@ -2678,14 +2678,6 @@ gl_ASSERT_NO_GNULIB_POSIXCHECK
# Check for alloca.
dnl src/alloca.c has been removed. Could also check if $ALLOCA is set?
dnl FIXME is there an autoconf test that does the right thing, without
dnl needing to call A_M_E afterwards?
if test x"$ac_cv_func_alloca_works" != xyes; then
AC_MSG_ERROR( [a system implementation of alloca is required] )
# UNIX98 PTYs.
......@@ -3458,6 +3450,12 @@ along with GNU Emacs. If not, see <>. */
/* On AIX 3 this must be included before any other include file. */
#include <alloca.h>
# error "alloca not available on this machine"
/* Define AMPERSAND_FULL_NAME if you use the convention
that & in the full name stands for the login id. */
/* Turned on June 1996 supposing nobody will mind it. */
......@@ -3533,7 +3531,6 @@ AH_BOTTOM([
#include <string.h>
#include <stdlib.h>
#include <alloca.h>
#define strchr(a, b) index (a, b)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment