--- a/configure
+++ b/configure
@@ -5059,10 +5059,6 @@ _ACEOF
   if test -z "$SSLLIB"; then
     SSLLIB="-lcrypto" # for MD5 routines
   fi
-  if $PKGCONFIG --exists openssl; then
-    SSLLIB="`$PKGCONFIG --libs openssl`"
-    SSLFLAGS="`$PKGCONFIG --cflags openssl`"
-  fi
   CPPFLAGS="${SSLFLAGS} $CPPFLAGS"
 fi
 
@@ -27318,7 +27314,7 @@ else
 See \`config.log' for more details." >&5
 $as_echo "$as_me: error: cannot run test program while cross compiling
 See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
+   { (true); true; }; }
 else
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
@@ -27481,8 +27477,7 @@ else
   { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
 See \`config.log' for more details." >&5
 $as_echo "$as_me: error: cannot run test program while cross compiling
-See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
+See \`config.log' for more details." >&2;} }
 else
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
@@ -27733,7 +27728,7 @@ else
 See \`config.log' for more details." >&5
 $as_echo "$as_me: error: cannot run test program while cross compiling
 See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
+   { (true); true; }; }
 else
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
@@ -27815,7 +27810,7 @@ else
 See \`config.log' for more details." >&5
 $as_echo "$as_me: error: cannot run test program while cross compiling
 See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
+   { (true); true; }; }
 else
   cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */