CVS update: php3

From: Date: Sat, 06 Feb 1999 04:58:26 +0000
Subject: CVS update: php3
Groups: php.dev 
Request: Send a blank email to php-dev+get-3932@lists.php.net to get a copy of this message
Date: Friday February 5, 1999 @ 23:58 Author: rasmus Update of /repository/php3 In directory asf:/home/rasmus/php3 Modified Files: ChangeLog Makefile.in acconfig.h config.h.in configure.in internal_functions.c Log Message: Add YP/NIS module Index: php3/ChangeLog diff -c php3/ChangeLog:1.571 php3/ChangeLog:1.572 *** php3/ChangeLog:1.571 Fri Feb 5 21:31:14 1999 --- php3/ChangeLog Fri Feb 5 23:58:24 1999 *************** *** 1,6 **** --- 1,7 ---- PHP 3.0 CHANGE LOG ChangeLog ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| xxx xx xxxx, Version 3.0.7 + - Added YP/NIS module from Stephanie Wehner - Added optional second argument to mysql_fetch_array(); MYSQL_ASSOC will cause the resulting array to contain the associative indices only, MYSQL_NUM will cause the array to contain the numeric indices only (like Index: php3/Makefile.in diff -c php3/Makefile.in:1.287 php3/Makefile.in:1.288 *** php3/Makefile.in:1.287 Tue Feb 2 00:44:08 1999 --- php3/Makefile.in Fri Feb 5 23:58:24 1999 *************** *** 24,30 **** # +----------------------------------------------------------------------+ # ! # $Id: Makefile.in,v 1.287 1999/02/02 05:44:08 andrey Exp $ # prefix = @prefix@ --- 24,30 ---- # +----------------------------------------------------------------------+ # ! # $Id: Makefile.in,v 1.288 1999/02/06 04:58:24 rasmus Exp $ # prefix = @prefix@ *************** *** 93,99 **** functions/snmp.c functions/var.c functions/interbase.c \ functions/quot_print.c functions/cyr_convert.c \ functions/sysvsem.c functions/dav.c functions/sysvshm.c \ ! functions/gettext.c functions/php3_mckcrypt.c FUNCTIONS = $(FUNCTIONS_SOURCE:.c=.o) --- 93,100 ---- functions/snmp.c functions/var.c functions/interbase.c \ functions/quot_print.c functions/cyr_convert.c \ functions/sysvsem.c functions/dav.c functions/sysvshm.c \ ! functions/gettext.c functions/php3_mckcrypt.c \ ! functions/yp.c FUNCTIONS = $(FUNCTIONS_SOURCE:.c=.o) *************** *** 681,686 **** --- 682,688 ---- fopen-wrappers.h mod_php3.h stack.h operators.h token_cache.h \ variables.h constants.h functions/php3_var.h internal_functions.h \ modules.h php3_list.h functions/php3_sysvshm.h + functions/yp.o: php.h internal_functions.h functions/php3_yp.h # Local Variables: # tab-width: 4 Index: php3/acconfig.h diff -c php3/acconfig.h:1.79 php3/acconfig.h:1.80 *** php3/acconfig.h:1.79 Sun Jan 31 09:47:10 1999 --- php3/acconfig.h Fri Feb 5 23:58:24 1999 *************** *** 278,280 **** --- 278,283 ---- /* Define to compile with mod_dav support */ #define HAVE_MOD_DAV 0 + + /* Define to enable yp/nis support */ + #define HAVE_YP 0 Index: php3/config.h.in diff -c php3/config.h.in:1.137 php3/config.h.in:1.138 *** php3/config.h.in:1.137 Sun Jan 31 09:47:10 1999 --- php3/config.h.in Fri Feb 5 23:58:24 1999 *************** *** 316,321 **** --- 316,324 ---- /* Define to compile with mod_dav support */ #define HAVE_MOD_DAV 0 + /* Define to enable yp/nis support */ + #define HAVE_YP 0 + /* Define if you have the crypt function. */ #undef HAVE_CRYPT Index: php3/configure.in diff -c php3/configure.in:1.310 php3/configure.in:1.311 *** php3/configure.in:1.310 Sun Jan 31 09:46:54 1999 --- php3/configure.in Fri Feb 5 23:58:25 1999 *************** *** 1,4 **** ! dnl $Id: configure.in,v 1.310 1999/01/31 14:46:54 sas Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) --- 1,4 ---- ! dnl $Id: configure.in,v 1.311 1999/02/06 04:58:25 rasmus Exp $ dnl Process this file with autoconf to produce a configure script. AC_INIT(main.c) *************** *** 1474,1479 **** --- 1474,1492 ---- ]) AC_SUBST(XML_LIBS) + AC_MSG_CHECKING(whether to include YP support) + AC_ARG_WITH(yp, + [ --with-yp Include YP support], + [ + if test "$withval" = "yes"; then + AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_YP) + else + AC_MSG_RESULT(no) + fi + ],[ + AC_MSG_RESULT(no) + ]) AC_MSG_CHECKING(whether to include zlib support) AC_ARG_WITH(zlib, Index: php3/internal_functions.c diff -c php3/internal_functions.c:1.344 php3/internal_functions.c:1.345 *** php3/internal_functions.c:1.344 Tue Feb 2 00:44:08 1999 --- php3/internal_functions.c Fri Feb 5 23:58:25 1999 *************** *** 29,35 **** */ ! /* $Id: internal_functions.c,v 1.344 1999/02/02 05:44:08 andrey Exp $ */ #ifdef THREAD_SAFE #include "tls.h" --- 29,35 ---- */ ! /* $Id: internal_functions.c,v 1.345 1999/02/06 04:58:25 rasmus Exp $ */ #ifdef THREAD_SAFE #include "tls.h" *************** *** 100,105 **** --- 100,107 ---- #include "functions/php3_gettext.h" #include "functions/php3_wddx.h" #include "functions/php3_wddx_a.h" + #include "functions/php3_yp.h" + #ifndef WIN32 #include <netinet/in.h> #endif *************** *** 172,177 **** --- 174,180 ---- {"System V shared memory", sysvshm_module_ptr}, {"DAV", phpdav_module_ptr}, {"MCK Crypt", mckcrypt_module_ptr}, + {"YP", yp_module_ptr}, {NULL, NULL} }; -- 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 (#3932) next »