[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-internals
Subject:    [PHP-DEV] Configure fails due to different behavior in new versions of pkg-config
From:       Pierre Schmitz <pierre () archlinux ! de>
Date:       2013-02-16 18:56:40
Message-ID: 33341e94ac7f566f038f6b76e93c55e9 () archlinux ! de
[Download RAW message or body]

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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic