Re: Shared extensions support

From: Date: Wed, 21 Nov 2001 03:13:30 +0000
Subject: Re: Shared extensions support
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-641@lists.php.net to get a copy of this message
There is a small typo in php_gtk.m4 i think.. defun should say php_gtk, not just php_ regards alan Index: php_gtk.m4 =================================================================== RCS file: /repository/php-gtk/php_gtk.m4,v retrieving revision 1.5 diff -u -r1.5 php_gtk.m4
--- php_gtk.m4  20 Nov 2001 20:40:52 -0000      1.5
+++ php_gtk.m4 21 Nov 2001 03:03:50 -0000 @@ -83,7 +83,7 @@ PHP_GTK_REAL_ARG_WITH([$1],[$2],[$3],[$4],PHP_GTK_[]translit($1,a-z0-9-,A-Z0-9_)) ]) -AC_DEFUN(PHP_REAL_ARG_WITH,[ +AC_DEFUN(PHP_GTK_REAL_ARG_WITH,[ AC_MSG_CHECKING([$2]) AC_ARG_WITH($1,[$3],$5=[$]withval,$5=ifelse($4,,no,$4)) PHP_GTK_ARG_ANALYZE($5) Andrei Zmievski wrote:
I have just commited code that adds support for building shared PHP-GTK extensions. The Win32 building process has not been adjusted yet, this is only for Unix so far. The procedure is the same as for PHP extensions. You use --enable-ext=shared or --with-ext=shared and when you do 'make install' the .so file will be copied to the same directory that regular PHP shared extensions live in. To load extensions, there is an .ini setting called 'php-gtk.extensions'. You simply list the extension filenames, separated by commas and/or spaces, like this: php-gtk.extensions = php_gtk_sqpane.so, php_gtk_libglade.so This should be a good step towards making PHP-GTK more modular and also having a repository of extensions. HTH, -Andrei * My wishlist: http://www.amazon.com/exec/obidos/wishlist/2Q2DIPY7BZLSH/ *


« previous php.gtk.general (#641) next »