CVS update: php3
| From: | thies | Date: | Thu, 14 Jan 1999 17:57:07 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3539@lists.php.net to get a copy of this message | ||
Date: Thursday January 14, 1999 @ 12:57
Author: thies
Update of /repository/php3
In directory asf:/u/temp/cvs-serv4880
Modified Files:
ChangeLog config.h.in configure.in
Log Message:
added dskfree(string path) function. this currently is tested under solaris (uses statvfs)
it returns the number of KB free in the given path.
the return value is a double, 'cause moden drives sometimes blow-away an int.
could please somebody check the autoconf stuff, as this is my first contact with it????
Index: php3/ChangeLog
diff -c php3/ChangeLog:1.553 php3/ChangeLog:1.554
*** php3/ChangeLog:1.553 Mon Jan 11 01:12:33 1999
--- php3/ChangeLog Thu Jan 14 12:57:06 1999
***************
*** 1,6 ****
--- 1,7 ----
PHP 3.0 CHANGE LOG ChangeLog
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
xxx xx xxxx, Version 3.0.7
+ - added diskfree() function
- Added aspell support
- Iptcparse would sometimes find a wrong tag.
- Force var_dump() to output headers
Index: php3/config.h.in
diff -c php3/config.h.in:1.131 php3/config.h.in:1.132
*** php3/config.h.in:1.131 Mon Jan 11 01:11:10 1999
--- php3/config.h.in Thu Jan 14 12:57:06 1999
***************
*** 376,381 ****
--- 376,384 ----
/* Define if you have the srandom function. */
#undef HAVE_SRANDOM
+ /* Define if you have the statvfs function. */
+ #undef HAVE_STATVFS
+
/* Define if you have the strcasecmp function. */
#undef HAVE_STRCASECMP
***************
*** 471,476 ****
--- 474,482 ----
/* Define if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
+
+ /* Define if you have the <sys/statvfs.h> header file. */
+ #undef HAVE_SYS_STATVFS_H
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
Index: php3/configure.in
diff -c php3/configure.in:1.302 php3/configure.in:1.303
*** php3/configure.in:1.302 Mon Jan 11 13:17:32 1999
--- php3/configure.in Thu Jan 14 12:57:06 1999
***************
*** 1,4 ****
! dnl $Id: configure.in,v 1.302 1999/01/11 18:17:32 steinm Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
--- 1,4 ----
! dnl $Id: configure.in,v 1.303 1999/01/14 17:57:06 thies Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
***************
*** 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");
--- 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 sys/statvfs.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");
***************
*** 187,193 ****
dnl Checks for library functions.
AC_FUNC_VPRINTF
! AC_CHECK_FUNCS(memcpy memmove strdup strerror strcasecmp strstr flock lockf putenv tempnam usleep
setlocale gettimeofday setvbuf srand48 lrand48 srandom random link symlink regcomp getlogin cuserid
vsnprintf snprintf gcvt utime crypt setitimer rint unsetenv strftime setsockopt tzset)
AC_FUNC_UTIME_NULL
AC_FUNC_ALLOCA
AC_BROKEN_SPRINTF
--- 187,193 ----
dnl Checks for library functions.
AC_FUNC_VPRINTF
! AC_CHECK_FUNCS(memcpy memmove strdup strerror strcasecmp strstr flock lockf putenv tempnam usleep
setlocale gettimeofday setvbuf srand48 lrand48 srandom random link symlink regcomp getlogin cuserid
vsnprintf snprintf gcvt utime crypt setitimer rint unsetenv strftime setsockopt tzset statvfs)
AC_FUNC_UTIME_NULL
AC_FUNC_ALLOCA
AC_BROKEN_SPRINTF
--
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