cvs: /php4/ext/sysvshm Makefile.in config.m4

From: Date: Tue, 02 May 2000 02:00:51 +0000
Subject: cvs: /php4/ext/sysvshm Makefile.in config.m4
Groups: php.version4 
Request: Send a blank email to php-version4+get-14304@lists.php.net to get a copy of this message
sas Tue May 2 04:00:51 2000 EDT Modified files: /php4/ext/sysvshm Makefile.in config.m4 Log: Make sysvshm buildable as shared module Index: php4/ext/sysvshm/Makefile.in diff -u php4/ext/sysvshm/Makefile.in:1.9 php4/ext/sysvshm/Makefile.in:1.10 --- php4/ext/sysvshm/Makefile.in:1.9 Tue May 2 00:38:34 2000 +++ php4/ext/sysvshm/Makefile.in Tue May 2 04:00:51 2000 @@ -1,5 +1,6 @@ LTLIBRARY_NAME = libsysvshm.la LTLIBRARY_SOURCES = sysvshm.c +LTLIBRARY_SHARED_NAME = sysvshm.la include $(top_srcdir)/build/dynlib.mk Index: php4/ext/sysvshm/config.m4 diff -u php4/ext/sysvshm/config.m4:1.2 php4/ext/sysvshm/config.m4:1.3 --- php4/ext/sysvshm/config.m4:1.2 Thu Dec 30 05:07:44 1999 +++ php4/ext/sysvshm/config.m4 Tue May 2 04:00:51 2000 @@ -1,17 +1,9 @@ -dnl $Id: config.m4,v 1.2 1999/12/30 04:07:44 sas Exp $ +dnl $Id: config.m4,v 1.3 2000/05/02 02:00:51 sas Exp $ -AC_MSG_CHECKING(whether to enable System V shared memory support) -AC_ARG_ENABLE(sysvshm, -[ --enable-sysvshm Enable the System V shared memory support],[ - if test "$enableval" = "yes"; then - AC_DEFINE(HAVE_SYSVSHM, 1, [ ]) - AC_MSG_RESULT(yes) - PHP_EXTENSION(sysvshm) - else - AC_DEFINE(HAVE_SYSVSHM, 0, [ ]) - AC_MSG_RESULT(no) - fi -],[ - AC_DEFINE(HAVE_SYSVSHM, 0, [ ]) - AC_MSG_RESULT(no) -]) +PHP_ARG_ENABLE(sysvshm,whether to enable System V shared memory support, +[ --enable-sysvshm Enable the System V shared memory support]) + +if test "$PHP_SYSVSHM" != "no"; then + AC_DEFINE(HAVE_SYSVSHM, 1, [ ]) + PHP_EXTENSION(sysvshm, $ext_shared) +fi

« previous php.version4 (#14304) next »