cvs: pecl /apc Makefile.in apc_fcntl.c apc_fcntl.h apc_lock.h config.m4

From: Date: Fri, 27 Jun 2003 16:02:11 +0000
Subject: cvs: pecl /apc Makefile.in apc_fcntl.c apc_fcntl.h apc_lock.h config.m4
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-339@lists.php.net to get a copy of this message
gschlossnagle Fri Jun 27 12:02:11 2003 EDT Modified files: /pecl/apc Makefile.in apc_fcntl.c apc_fcntl.h apc_lock.h config.m4 Log: build support changes for fctl locks. copyrightd. blame-notices. Index: pecl/apc/Makefile.in diff -u pecl/apc/Makefile.in:3.7 pecl/apc/Makefile.in:3.8 --- pecl/apc/Makefile.in:3.7 Sun Jun 22 03:03:09 2003 +++ pecl/apc/Makefile.in Fri Jun 27 12:02:11 2003 @@ -1,5 +1,5 @@ # -# $Id: Makefile.in,v 3.7 2003/06/22 07:03:09 rasmus Exp $ +# $Id: Makefile.in,v 3.8 2003/06/27 16:02:11 gschlossnagle Exp $ # LTLIBRARY_NAME = libapc.la @@ -9,6 +9,7 @@ apc_compile.c \ apc_main.c \ apc_sem.c \ + apc_fcntl.c \ apc_shm.c \ apc_sma.c \ apc_stack.c \ Index: pecl/apc/apc_fcntl.c diff -u pecl/apc/apc_fcntl.c:3.12 pecl/apc/apc_fcntl.c:3.13 --- pecl/apc/apc_fcntl.c:3.12 Fri Jun 27 11:56:43 2003 +++ pecl/apc/apc_fcntl.c Fri Jun 27 12:02:11 2003 @@ -10,11 +10,11 @@ | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ - | Authors: Daniel Cowgill <dcowgill@communityconnect.com> | + | Authors: George Schlossnagle <george@omniti.com> | +----------------------------------------------------------------------+ */ -/* $Id: apc_fcntl.c,v 3.12 2003/06/27 15:56:43 gschlossnagle Exp $ */ +/* $Id: apc_fcntl.c,v 3.13 2003/06/27 16:02:11 gschlossnagle Exp $ */ #include "apc_fcntl.h" #include "apc.h" Index: pecl/apc/apc_fcntl.h diff -u pecl/apc/apc_fcntl.h:3.7 pecl/apc/apc_fcntl.h:3.8 --- pecl/apc/apc_fcntl.h:3.7 Fri Jun 27 11:52:21 2003 +++ pecl/apc/apc_fcntl.h Fri Jun 27 12:02:11 2003 @@ -10,11 +10,11 @@ | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ - | Authors: Daniel Cowgill <dcowgill@communityconnect.com> | + | Authors: George Schlossnagle <george@omniti.com> | +----------------------------------------------------------------------+ */ -/* $Id: apc_fcntl.h,v 3.7 2003/06/27 15:52:21 gschlossnagle Exp $ */ +/* $Id: apc_fcntl.h,v 3.8 2003/06/27 16:02:11 gschlossnagle Exp $ */ #ifndef APC_FCNTL_H #define APC_FCNTL_H Index: pecl/apc/apc_lock.h diff -u pecl/apc/apc_lock.h:3.2 pecl/apc/apc_lock.h:3.3 --- pecl/apc/apc_lock.h:3.2 Fri Jun 27 11:53:17 2003 +++ pecl/apc/apc_lock.h Fri Jun 27 12:02:11 2003 @@ -1,3 +1,18 @@ +/* + +----------------------------------------------------------------------+ + | Copyright (c) 2002 by Community Connect Inc. All rights reserved. | + +----------------------------------------------------------------------+ + | This source file is subject to version 2.02 of the PHP license, | + | that is bundled with this package in the file LICENSE, and is | + | available at through the world-wide-web at | + | http://www.php.net/license/2_02.txt. | + | If you did not receive a copy of the PHP license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | license@php.net so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ + | Authors: George Schlossnagle <george@omniti.com> | + +----------------------------------------------------------------------+ +*/ #ifndef APC_LOCK #define APC_LOCK Index: pecl/apc/config.m4 diff -u pecl/apc/config.m4:3.6 pecl/apc/config.m4:3.7 --- pecl/apc/config.m4:3.6 Tue Jun 24 07:09:01 2003 +++ pecl/apc/config.m4 Fri Jun 27 12:02:11 2003 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 3.6 2003/06/24 11:09:01 rasmus Exp $ +dnl $Id: config.m4,v 3.7 2003/06/27 16:02:11 gschlossnagle Exp $ dnl PHP_ARG_ENABLE(apc, for APC support, @@ -40,6 +40,20 @@ ],[ AC_MSG_RESULT(no) ]) + +AC_MSG_CHECKING(whether to prefer fcntl based locks) +AC_ARG_ENABLE(fcntl, +[ --enable-fcntl Enable fcntl support instead of IPC sem],[ + if test "$enableval" = "yes" ; then + AC_DEFINE(APC_FCNTL_LOCKS, 1, [ ]) + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + fi +],[ + AC_MSG_RESULT(no) +]) + PHP_CHECK_LIBRARY(rt, shm_open, [ PHP_ADD_LIBRARY(rt,, APC_SHARED_LIBADD)

« previous php.pecl.cvs (#339) next »