On Wed, May 02, 2001 at 01:50:08PM -0400, Chuck Hagenbuch wrote:
> Quoting "J. Jones" <[EMAIL PROTECTED]>:
> 
> > The imap module fails with the following (perhaps only when building
> > against imap-2000*):
> > 
> > php_imap.c: In function `php_minit_imap':
> > php_imap.c:450: `auth_ssl' undeclared (first use in this function)
> > php_imap.c:450: (Each undeclared identifier is reported only once
> > php_imap.c:450: for each function it appears in.)
> 
> This code branch should only be triggered if HAVE_IMAP_SSL is defined, which 
> should only happen if you configure php --with-imap-ssl. If you're doing so, 
> it's assumed that you've built c-client with SSL support.
Current configure macros in PHP 4.0.x have flaw that breaks your
assumption. ext/imap uses several PHP_ARG_WITH() macros in order to find
out configuration options. When building ext/imap as standalone
dynamically loadable module via phpize (self-contained extension),
PHP_ARG_WITH() relies on the value of $php_always_shared (which is 'yes'
here) so result of PHP_ARG_WITH always be 'yes' regardless of user input
or system checks.

This is known bug since early March but nobody fixed it and in general
fixing requires serious rework of PHP4's configure macros concept.
-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project    | ALT  Linux  Team | Minsk Linux Users Group
 www.midgard-project.org | www.altlinux.ru  |    www.minsk-lug.net 
-- You won't skid if you stay in a rut.
                -- Frank Hubbard

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to