Do not needlessly add /usr/include and /usr/lib to the compiler and linker flags if the base system OpenSSL is used. --- a/configure +++ b/configure @@ -23435,7 +23435,7 @@ PKGTEST="no" PREFIX_OPENSSL=$OPT_SSL LIB_OPENSSL="$PREFIX_OPENSSL/lib$libsuff" - if "$PREFIX_OPENSSL" != "/usr" ; then + if [ "$PREFIX_OPENSSL" != "/usr" ] ; then LDFLAGS="$LDFLAGS -L$LIB_OPENSSL" CPPFLAGS="$CPPFLAGS -I$PREFIX_OPENSSL/include" fi