Skip to content

Commit

Permalink
With pkgconfig < 0.28 output is a single space
Browse files Browse the repository at this point in the history
With pkgconfig = 0.28 output is an empty string,
This breaks the test on the 2 vars

Need to split when
LIB set (ex -lssl -lcrypto)
INC empty (because /usr/include used)
  • Loading branch information
remicollet committed Mar 28, 2013
1 parent ab08961 commit 640e72c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2342,8 +2342,10 @@ AC_DEFUN([PHP_SETUP_OPENSSL],[
AC_MSG_ERROR([OpenSSL version 0.9.6 or greater required.])
fi
if test -n "$OPENSSL_LIBS" && test -n "$OPENSSL_INCS"; then
if test -n "$OPENSSL_LIBS"; then
PHP_EVAL_LIBLINE($OPENSSL_LIBS, $1)
fi
if test -n "$OPENSSL_INCS"; then
PHP_EVAL_INCLINE($OPENSSL_INCS)
fi
fi
Expand Down

0 comments on commit 640e72c

Please sign in to comment.