Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16150 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32455 invoked by uid 1010); 29 Apr 2005 21:48:49 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 32434 invoked from network); 29 Apr 2005 21:48:48 -0000 Received: from unknown (HELO firehawksystems.com) (127.0.0.1) by localhost with SMTP; 29 Apr 2005 21:48:48 -0000 X-Host-Fingerprint: 204.11.219.140 lt1.firehawksystems.com Linux 2.4/2.6 Received: from ([204.11.219.140:37859] helo=lt1.firehawksystems.com) by pb1.pair.com (ecelerity 1.2.12rc1 r(5476:5477)) with SMTP id E5/01-20173-EBBA2724 for ; Fri, 29 Apr 2005 17:48:48 -0400 Received: from [10.0.0.2] (adsl-68-73-144-126.dsl.ipltin.ameritech.net [68.73.144.126]) (authenticated bits=0) by lt1.firehawksystems.com (8.13.3/8.13.3) with ESMTP id j3TLmJbb004235 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Fri, 29 Apr 2005 14:48:21 -0700 Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-ID: <4dd5df36676db6f44bdd07a50a079bca@firehawksystems.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: internals@lists.php.net Date: Fri, 29 Apr 2005 16:48:15 -0500 X-Mailer: Apple Mail (2.622) X-Virus-Scanned: ClamAV 0.83/860/Fri Apr 29 06:45:14 2005 on lt1 X-Virus-Status: Clean Subject: imap shared with a different openssl path From: list@firehawksystems.com ("Brian J. France") I am trying to build imap as a shared extension (phpize method) with different path for openssl. This seems easy, right? phpize; ./configure --with-imap-ssl= But that doesn't work. It seems that line 1688 in acinclude.m4 is the problem: 1687 dnl Fallbacks for different configure options 1688 if test "$PHP_OPENSSL" != "no"; then 1689 PHP_OPENSSL_DIR=$PHP_OPENSSL 1690 elif test "$PHP_IMAP_SSL" != "no"; then 1691 PHP_OPENSSL_DIR=$PHP_IMAP_SSL 1692 fi The problem is $PHP_OPENSSL is blank and hits the first case setting $PHP_OPENSSL_DIR to blank and things blow up in a few test down. Something like this fixes it: if test "$PHP_OPENSSL" != "no" && test "$PHP_OPENSSL" != ""; then I don't know if this would break anything or not, thoughts? Brian