From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0CVS-2001-12-24
PHP Bug Type:     *Configuration Issues
Bug description:  OpenSSH extension buildable as a loadable module only by chance

The openssl extension configuration queries a variable ($ext_shared) that
is set by a completely unrelated subsystem and builds as a loadable module
only by chance. This patch
is needed to query the correct setting.

+++ php-4.1.0/ext/openssl/config.m4     Mon Dec 24 02:00:51 2001
@@ -3,6 +3,6 @@
 dnl
 
 if test "$OPENSSL_DIR"; then
-  PHP_EXTENSION(openssl, $ext_shared)
+  PHP_EXTENSION(openssl, $openssl_ext_shared)
   AC_DEFINE(HAVE_OPENSSL_EXT,1,[ ])
 fi
--- php-4.1.0/configure.in~     Mon Dec 24 02:00:09 2001
+++ php-4.1.0/configure.in      Mon Dec 24 02:01:00 2001
@@ -561,6 +561,7 @@
 
 if test "$PHP_OPENSSL" != "no"; then
   PHP_SETUP_OPENSSL
+  openssl_ext_shared=$ext_shared
 fi
 
 PHP_ARG_ENABLE(sigchild,whether to enable PHP's own SIGCHLD handler,

-- 
Edit bug report at: http://bugs.php.net/?id=14682&edit=1


-- 
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