Re: Use fsock.c from my module
| From: | chrisv at b0rked dot dhs dot org | Date: | Fri, 01 Dec 2000 23:15:07 +0000 |
| Subject: | Re: Use fsock.c from my module | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-39814@lists.php.net to get a copy of this message | ||
--enable-sockets enables the sockets module, which has nothing to do with
fsockopen() and the like. :)
If, for example, you wanted to check to see if it was enabled though, use:
if test "$PHP_SOCKETS" != "no"; then
your_stuff_here;
fi
Chris
On Fri, 1 Dec 2000, Sam Liddicott wrote:
> In order to keep my network interface portable I thought it better to write
> using fsock.c and require that sockets be enabled for php.
>
> Is this advisable?
>
> In my config.m4 how do I check that --enable-sockets is active?
>
> In my config.m4 how do I cause to be defined somewhere one of the PATHS
> calculated by config.m4 - in order that my C module knows the compile time
> paths as defaults for other things.
>
>
> Thanks
>
> Sam
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>