cvs: /php4/ext/posix Makefile.in config.m4 posix.c
| From: | Sascha Schumann | Date: | Mon, 01 May 2000 21:37:22 +0000 |
| Subject: | cvs: /php4/ext/posix Makefile.in config.m4 posix.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14290@lists.php.net to get a copy of this message | ||
sas Mon May 1 14:37:22 2000 EDT
Modified files:
/php4/ext/posix Makefile.in config.m4 posix.c
Log:
Make posix module buildable as shared module
Index: php4/ext/posix/Makefile.in
diff -u php4/ext/posix/Makefile.in:1.3 php4/ext/posix/Makefile.in:1.4
--- php4/ext/posix/Makefile.in:1.3 Sun Apr 30 19:41:45 2000
+++ php4/ext/posix/Makefile.in Mon May 1 14:36:52 2000
@@ -1,5 +1,7 @@
LTLIBRARY_NAME = libposix.la
LTLIBRARY_SOURCES = posix.c
+LTLIBRARY_SHARED_NAME = posix.la
include $(top_srcdir)/build/dynlib.mk
+
Index: php4/ext/posix/config.m4
diff -u php4/ext/posix/config.m4:1.2 php4/ext/posix/config.m4:1.3
--- php4/ext/posix/config.m4:1.2 Fri Dec 3 05:24:30 1999
+++ php4/ext/posix/config.m4 Mon May 1 14:36:52 2000
@@ -1,18 +1,13 @@
-dnl $Id: config.m4,v 1.2 1999/12/03 13:24:30 sas Exp $
+dnl $Id: config.m4,v 1.3 2000/05/01 21:36:52 sas Exp $
dnl config.m4 for extension posix
dnl don't forget to call PHP_EXTENSION(posix)
-AC_ARG_ENABLE(posix,
-[ --disable-posix Disable POSIX-like functions],[
- PHP_POSIX=$enableval
-],[
- PHP_POSIX=yes
-])
-AC_MSG_CHECKING(whether to include POSIX-like functions)
-AC_MSG_RESULT($PHP_POSIX)
+PHP_ARG_ENABLE(posix,whether to include POSIX-like functions,
+[ --disable-posix Disable POSIX-like functions], yes)
+
if test "$PHP_POSIX" = "yes"; then
AC_DEFINE(HAVE_POSIX, 1, [whether to include POSIX-like functions])
- PHP_EXTENSION(posix)
+ PHP_EXTENSION(posix, $ext_shared)
fi
Index: php4/ext/posix/posix.c
diff -u php4/ext/posix/posix.c:1.11 php4/ext/posix/posix.c:1.12
--- php4/ext/posix/posix.c:1.11 Sat Apr 15 07:28:47 2000
+++ php4/ext/posix/posix.c Mon May 1 14:36:52 2000
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: posix.c,v 1.11 2000/04/15 14:28:47 andi Exp $ */
+/* $Id: posix.c,v 1.12 2000/05/01 21:36:52 sas Exp $ */
#include "php.h"
@@ -130,13 +130,13 @@
};
#ifdef COMPILE_DL
-DLEXPORT zend_module_entry *get_module(void) { return &posix__module_entry; }
+DLEXPORT zend_module_entry *get_module(void) { return &posix_module_entry; }
#endif
static PHP_MINFO_FUNCTION(posix)
{
php_info_print_table_start();
- php_info_print_table_row(2, "Revision", "$Revision: 1.11 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.12 $");
php_info_print_table_end();
}