CVS update: php3

From: Date: Sun, 27 Dec 1998 07:09:48 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-3059@lists.php.net to get a copy of this message
Date: Sunday December 27, 1998 @ 2:09 Author: sas Update of /repository/php3 In directory asf:/u/temp/cvs-serv10974 Modified Files: ChangeLog acconfig.h config.h.in configure.in Log Message: add gettimeofday() add getrusage() Index: php3/ChangeLog diff -c php3/ChangeLog:1.542 php3/ChangeLog:1.543 *** php3/ChangeLog:1.542 Wed Dec 23 10:03:31 1998 --- php3/ChangeLog Sun Dec 27 02:09:43 1998 *************** *** 1,5 **** --- 1,10 ---- PHP 3.0 CHANGE LOG ChangeLog ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| + xxx xx xxxx, Version 3.0.7 + - Introduce simple regex compilation cache + - Add gettimeofday() function + - Add getrusage() function + December 24 1998, Version 3.0.6 - Fix GetImageSize() to work with non-standard jpg images - Add Mersenne Twister functions (mt_rand, mt_srand, etc) Index: php3/acconfig.h diff -c php3/acconfig.h:1.73 php3/acconfig.h:1.74 *** php3/acconfig.h:1.73 Fri Dec 18 17:34:53 1998 --- php3/acconfig.h Sun Dec 27 02:09:43 1998 *************** *** 206,211 **** --- 206,214 ---- /* Define if your system has the gettimeofday() call */ #define HAVE_GETTIMEOFDAY 0 + /* Define if your system has the getrusage() call */ + #define HAVE_GETRUSAGE 0 + /* Define if your system has the putenv() library call */ #define HAVE_PUTENV 0 Index: php3/config.h.in diff -c php3/config.h.in:1.128 php3/config.h.in:1.129 *** php3/config.h.in:1.128 Mon Dec 21 12:59:53 1998 --- php3/config.h.in Sun Dec 27 02:09:43 1998 *************** *** 249,254 **** --- 249,257 ---- #define HAVE_SOLID 0 #define DEBUG 0 + /* Define if your system has the getrusage() call */ + #define HAVE_GETRUSAGE 0 + /* Define if you want to enable the PHP TCP/IP debugger (experimental) */ #define PHP_DEBUGGER 0 *************** *** 457,462 **** --- 460,468 ---- /* Define if you have the <sys/ndir.h> header file. */ #undef HAVE_SYS_NDIR_H + + /* Define if you have the <sys/resource.h> header file. */ + #undef HAVE_SYS_RESOURCE_H /* Define if you have the <sys/socket.h> header file. */ #undef HAVE_SYS_SOCKET_H Index: php3/configure.in diff -c php3/configure.in:1.296 php3/configure.in:1.297 *** php3/configure.in:1.296 Sat Dec 26 20:59:19 1998 --- php3/configure.in Sun Dec 27 02:09:45 1998 *************** *** 1,4 **** ! dnl $Id: configure.in,v 1.296 1998/12/27 01:59:19 rasmus Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) --- 1,4 ---- ! dnl $Id: configure.in,v 1.297 1998/12/27 07:09:45 sas Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) *************** *** 108,113 **** --- 108,116 ---- LIBS="-ldl $LIBS" AC_DEFINE(HAVE_LIBDL) ], []) ]) + AC_CHECK_LIB(c, getrusage, [ + AC_DEFINE(HAVE_GETRUSAGE) ], []) + dnl The sin may be in a library which need not be specifed dnl as well as res_search resides in libsocket AC_CHECK_LIB(c, sin, [:], [ *************** *** 139,145 **** 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/time.h signal.h netinet/in.h dlfcn.h limits.h sys/types.h unix.h) if test "$DBM_LIB" = "-lgdbm"; then AC_CHECK_HEADER(gdbm.h, [ GDBM_INCLUDE="" ], [ AC_MSG_RESULT("Try /usr/local/include/gdbm.h"); --- 142,148 ---- 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 unix.h) if test "$DBM_LIB" = "-lgdbm"; then AC_CHECK_HEADER(gdbm.h, [ GDBM_INCLUDE="" ], [ AC_MSG_RESULT("Try /usr/local/include/gdbm.h"); -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3059) next »