[Rpm-maint] [rpm-software-management/rpm] Add OpenSSL crypto backend (#129)

Stephen Gallagher notifications at github.com
Wed Jan 18 16:14:18 UTC 2017

sgallagher commented on this pull request.

+if test "$with_openssl" = yes; then
+# If we have pkgconfig make sure CPPFLAGS are setup correctly for the OpenSSL
+# -I include path.
+AC_PATH_TOOL([PKGCONFIG], [pkg-config], [no], [$PATH:/usr/bin:/usr/local/bin])
+if test "x$PKGCONFIG" != "xno"; then
+  CPPFLAGS="$CPPFLAGS $($PKGCONFIG --cflags libcrypto)"
+AC_CHECK_HEADERS([openssl/evp.h], [], [
+  AC_MSG_ERROR([missing required OpenSSL header])
+AC_CHECK_LIB(crypto, EVP_DigestInit_ex, [
+  WITH_OPENSSL_LIB=$($PKGCONFIG --libs libcrypto)

Yeah, that's a bug. I'll fix it.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170118/47968c80/attachment-0001.html>

More information about the Rpm-maint mailing list