Skip to content
Snippets Groups Projects
Unverified Commit aac02d1c authored by Christian Beer's avatar Christian Beer Committed by GitHub
Browse files

Merge pull request #4244 from truboxl/patch-3

Fix empty path for message "OpenSSL found in"
parents 201525e6 ea8d0878
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ AC_ARG_WITH(ssl,
[check_ssl_dir="$withval"],
[check_ssl_dir=])
if test "x${PKGCONFIG}" != "x" -a "x${check_ssl_dir}" = "x" ; then
SSLDIR="`${PKGCONFIG} openssl --cflags-only-I | sed -e 's/-I//' -e 's/\/include\/openssl//' -e 's/\/include//' | grep '[a-z]' 2>/dev/null`"
SSLDIR="`${PKGCONFIG} openssl --cflags-only-I 2>/dev/null | sed -e 's/-I//' -e 's/\/include\/openssl//' -e 's/\/include//'`"
if test "x${SSLDIR}" = "x" ; then
if test -d "/usr/include/openssl" -o -f "/usr/include/ssl.h" ; then
SSLDIR="/usr"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment