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

Reply via email to