cvs: /php3 configure.in alloca.c
| From: | Sascha Schumann | Date: | Mon, 17 Apr 2000 18:18:29 +0000 |
| Subject: | cvs: /php3 configure.in alloca.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17975@lists.php.net to get a copy of this message | ||
sas Mon Apr 17 11:18:29 2000 EDT
Modified files:
/php3 configure.in alloca.c
Log:
Fix alloca build problem on Irix and Unixware 7.x.
Patch by: Steve Robb <steve@eu.c2.net>
Index: php3/configure.in
diff -u php3/configure.in:1.501 php3/configure.in:1.502
--- php3/configure.in:1.501 Mon Apr 3 11:24:29 2000
+++ php3/configure.in Mon Apr 17 11:17:59 2000
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.501 2000/04/03 18:24:29 sas Exp $
+dnl $Id: configure.in,v 1.502 2000/04/17 18:17:59 sas Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
@@ -196,7 +196,7 @@
fi
AC_MISSING_FCLOSE_DECL
dnl QNX requires unix.h to allow functions in libunix to work properly
-AC_CHECK_HEADERS(fcntl.h unistd.h crypt.h sys/file.h memory.h pwd.h grp.h sys/socket.h sys/wait.h
syslog.h string.h sys/varargs.h stdarg.h sys/resource.h sys/time.h signal.h netinet/in.h dlfcn.h
limits.h sys/types.h sys/statvfs.h sys/statfs.h unix.h db.h dbm.h ndbm.h db1/ndbm.h locale.h
features.h)
+AC_CHECK_HEADERS(fcntl.h stdlib.h unistd.h crypt.h sys/file.h memory.h pwd.h grp.h sys/socket.h
sys/wait.h syslog.h string.h sys/varargs.h stdarg.h sys/resource.h sys/time.h signal.h netinet/in.h
dlfcn.h limits.h sys/types.h sys/statvfs.h sys/statfs.h unix.h db.h dbm.h ndbm.h db1/ndbm.h locale.h
features.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_STRUCT_TM
Index: php3/alloca.c
diff -u php3/alloca.c:1.4 php3/alloca.c:1.5
--- php3/alloca.c:1.4 Sun Sep 26 08:33:01 1999
+++ php3/alloca.c Mon Apr 17 11:17:59 2000
@@ -21,11 +21,13 @@
allocating any. It is a good idea to use alloca(0) in
your main control loop, etc. to force garbage collection. */
-/* $Id: alloca.c,v 1.4 1999/09/26 15:33:01 sas Exp $ */
+/* $Id: alloca.c,v 1.5 2000/04/17 18:17:59 sas Exp $ */
-#include <config.h>
+#include "config.h"
#if !HAVE_ALLOCA
+
+#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>