[PHP-DEV] CVS update: php3 From: zeev (php-dev <email protected>)
Date: 04/29/98

Date: Wednesday April 29, 1998 @ 21:48
Author: zeev

Update of /repository/php3
In directory asf:/tmp/cvs-serv20752

Modified Files:
        config.h.in configure.in
Log Message:
* Removed a lot of redundant code from set_socket_blocking() (renamed it to set_socket_blocking)
  If this code was taken as-is from somewhere else (which I guess it was) - there's a lot of
  optimization that can be done.
* Added untested version of set_socket_timeout(). Looks like it'll only be supported in
  Linux 2.1 and Solaris.

Index: php3/config.h.in
diff -c php3/config.h.in:1.92 php3/config.h.in:1.93
*** php3/config.h.in:1.92 Tue Apr 28 16:36:13 1998
--- php3/config.h.in Wed Apr 29 21:47:59 1998
***************
*** 254,259 ****
--- 254,262 ----
  /* Define if you have the setlocale function. */
  #undef HAVE_SETLOCALE
  
+ /* Define if you have the setsockopt function. */
+ #undef HAVE_SETSOCKOPT
+
  /* Define if you have the setvbuf function. */
  #undef HAVE_SETVBUF
  
Index: php3/configure.in
diff -c php3/configure.in:1.194 php3/configure.in:1.195
*** php3/configure.in:1.194 Tue Apr 28 16:36:13 1998
--- php3/configure.in Wed Apr 29 21:48:00 1998
***************
*** 1,4 ****
! dnl $Id: configure.in,v 1.194 1998/04/28 20:36:13 zeev Exp $
  dnl Process this file with autoconf to produce a configure script.
  
  AC_INIT(main.c)
--- 1,4 ----
! dnl $Id: configure.in,v 1.195 1998/04/30 01:48:00 zeev Exp $
  dnl Process this file with autoconf to produce a configure script.
  
  AC_INIT(main.c)
***************
*** 97,103 ****
  
  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)
  AC_FUNC_UTIME_NULL
  AC_FUNC_ALLOCA
  AC_BROKEN_SPRINTF
--- 97,103 ----
  
  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)
  AC_FUNC_UTIME_NULL
  AC_FUNC_ALLOCA
  AC_BROKEN_SPRINTF