[Rpm-maint] [rpm-software-management/rpm] Add OpenSSL crypto backend (#129)
notifications at github.com
Wed Jan 18 16:00:43 UTC 2017
ignatenkobrain 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)
I think this will crash if --with-openssl is set, but pkg-config is not found
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...
More information about the Rpm-maint