Github user paul-guo- commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/1265#discussion_r126856856
  
    --- Diff: depends/libhdfs3/CMake/FindSSL.cmake ---
    @@ -0,0 +1,26 @@
    +# - Try to find the Open ssl library (ssl)
    +#
    +# Once done this will define
    +#
    +#  SSL_FOUND - System has gnutls
    +#  SSL_INCLUDE_DIR - The gnutls include directory
    +#  SSL_LIBRARIES - The libraries needed to use gnutls
    +#  SSL_DEFINITIONS - Compiler switches required for using gnutls
    +
    +
    +IF (SSL_INCLUDE_DIR AND SSL_LIBRARIES)
    +   # in cache already
    +   SET(SSL_FIND_QUIETLY TRUE)
    +ENDIF (SSL_INCLUDE_DIR AND SSL_LIBRARIES)
    +
    +FIND_PATH(SSL_INCLUDE_DIR openssl/opensslv.h)
    +
    +FIND_LIBRARY(SSL_LIBRARIES crypto)
    +
    +INCLUDE(FindPackageHandleStandardArgs)
    +
    +# handle the QUIETLY and REQUIRED arguments and set SSL_FOUND to TRUE if
    +# all listed variables are TRUE
    +FIND_PACKAGE_HANDLE_STANDARD_ARGS(SSL DEFAULT_MSG SSL_LIBRARIES 
SSL_INCLUDE_DIR)
    +
    +MARK_AS_ADVANCED(SSL_INCLUDE_DIR SSL_LIBRARIES)
    --- End diff --
    
    Can we leverage the code for ssl and curl in configure?
    By the way, now we should auto-enable with-openssl if with-libhdfs3 is 
enabled.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to