CVS update: php3

From: Date: Sat, 12 Jun 1999 10:28:35 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-6840@lists.php.net to get a copy of this message
Date: Saturday June 12, 1999 @ 6:28 Author: kk Update of /repository/php3 In directory php:/tmp/cvs-serv21147 Modified Files: Makefile.in config.h.in configure.in internal_functions.c Log Message: Yeah, let us break the build. This is my very first PHP3 module and it is neither complete nor extensively tested. It works on Solaris 2.5.1 and Linux 2.2 (Suse 6.1). I have not dl() tested it nor did I try mod_php. Adds functions posix_*(). Documentation is still missing. Index: php3/Makefile.in diff -u php3/Makefile.in:1.319 php3/Makefile.in:1.320 --- php3/Makefile.in:1.319 Thu Jun 3 10:05:10 1999 +++ php3/Makefile.in Sat Jun 12 06:28:33 1999 @@ -24,7 +24,7 @@ # +----------------------------------------------------------------------+ # -# $Id: Makefile.in,v 1.319 1999/06/03 14:05:10 sas Exp $ +# $Id: Makefile.in,v 1.320 1999/06/12 10:28:33 kk Exp $ # prefix = @prefix@ @@ -97,7 +97,7 @@ functions/yp.c functions/dba.c functions/dba_gdbm.c \ functions/dba_dbm.c functions/dba_ndbm.c functions/dba_cdb.c \ functions/mcrypt.c functions/dba_db2.c functions/mhash.c \ - functions/pcre.c + functions/pcre.c functions/posix.c FUNCTIONS = $(FUNCTIONS_SOURCE:.c=.o) Index: php3/config.h.in diff -u php3/config.h.in:1.166 php3/config.h.in:1.167 --- php3/config.h.in:1.166 Mon Jun 7 11:00:07 1999 +++ php3/config.h.in Sat Jun 12 06:28:34 1999 @@ -608,3 +608,7 @@ /* Define if you have the ttf library (-lttf). */ #undef HAVE_LIBTTF + +/* Define if you want Posix functions included */ +#undef HAVE_POSIX + Index: php3/configure.in diff -u php3/configure.in:1.391 php3/configure.in:1.392 --- php3/configure.in:1.391 Fri Jun 11 02:43:15 1999 +++ php3/configure.in Sat Jun 12 06:28:34 1999 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.391 1999/06/11 06:43:15 steinm Exp $ +dnl $Id: configure.in,v 1.392 1999/06/12 10:28:34 kk Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) @@ -2677,6 +2677,20 @@ ]) AC_SUBST(PCRE_LIB) AC_SUBST(PCRE_LIBS) + +AC_MSG_CHECKING(whether to include Posix support) +AC_ARG_WITH(posix, +[ --without-posix Don't include Posix functions],[ + if test "$withval" = "yes"; then + AC_DEFINE(HAVE_POSIX, 1) + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + fi +],[ + AC_DEFINE(HAVE_POSIX, 1) + AC_MSG_RESULT(yes) +]) AC_MSG_CHECKING(whether to enable dmalloc support) AC_ARG_ENABLE(dmalloc, Index: php3/internal_functions.c diff -u php3/internal_functions.c:1.351 php3/internal_functions.c:1.352 --- php3/internal_functions.c:1.351 Thu May 27 11:42:50 1999 +++ php3/internal_functions.c Sat Jun 12 06:28:34 1999 @@ -29,7 +29,7 @@ */ -/* $Id: internal_functions.c,v 1.351 1999/05/27 15:42:50 andrey Exp $ */ +/* $Id: internal_functions.c,v 1.352 1999/06/12 10:28:34 kk Exp $ */ #ifdef THREAD_SAFE #include "tls.h" @@ -107,6 +107,7 @@ #include "functions/php_mcrypt.h" #include "functions/php_mhash.h" #include "functions/php3_pcre.h" +#include "functions/php3_posix.h" #ifndef WIN32 #include <netinet/in.h> @@ -187,6 +188,7 @@ {"YP", yp_module_ptr}, {"ImageMagick", magick_module_ptr}, {"PCRE", pcre_module_ptr}, + {"Posix", posix_module_ptr}, {NULL, NULL} };

« previous php.dev (#6840) next »