Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65890 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27414 invoked from network); 16 Feb 2013 18:56:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Feb 2013 18:56:45 -0000 Authentication-Results: pb1.pair.com header.from=pierre@archlinux.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre@archlinux.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain archlinux.de designates 85.214.245.131 as permitted sender) X-PHP-List-Original-Sender: pierre@archlinux.de X-Host-Fingerprint: 85.214.245.131 server.archlinux.de Received: from [85.214.245.131] ([85.214.245.131:35147] helo=server.archlinux.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/E0-17143-B66DF115 for ; Sat, 16 Feb 2013 13:56:44 -0500 Received: from server.archlinux.de (server.archlinux.de [85.214.245.131]) (Authenticated sender: pierre@archlinux.de) by server.archlinux.de (Postfix) with ESMTPSA id 9C0931FF147 for ; Sat, 16 Feb 2013 19:56:40 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Sat, 16 Feb 2013 19:56:40 +0100 To: Organization: Arch Linux Message-ID: <33341e94ac7f566f038f6b76e93c55e9@archlinux.de> X-Sender: pierre@archlinux.de User-Agent: Roundcube Webmail/0.8.5 Subject: Configure fails due to different behavior in new versions of pkg-config From: pierre@archlinux.de (Pierre Schmitz) Hi, since pkg-config 0.28 "pkg-config --cflags-only-I openssl" returns an empty string and not a single space like it did in the previous versions. This breaks the configure script of PHP when called with "./configure --with-imap --with-imap-ssl". The relevant snippet from the configure script is: ... OPENSSL_LIBS=`$PKG_CONFIG --libs openssl` OPENSSL_INCS=`$PKG_CONFIG --cflags-only-I openssl` ... if test -n "$OPENSSL_LIBS" && test -n "$OPENSSL_INCS"; then ... I am not sure why we are testing for content in $OPENSSL_INCS anyway. Am I correct that removing " && test -n "$OPENSSL_INCS"" from configure is the correct fix here (and in general)? Greetings, Pierre -- Pierre Schmitz, https://pierre-schmitz.com