Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2309

Remove --with-openssl-dir configure option in CheckSSL.m4

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Since PHP 7.4, the PHP_SETUP_OPENSSL autoconf macro completely relies on pkg-config and no longer utilizes $PHP_OPENSSL_DIR to search for OpenSSL headers. This change was implemented in php/php-src@fe8fdfa.

      Prior to PHPC-888, which introduced support for alternative TLS libraries, we utilized the PHP_SETUP_OPENSSL macro directly. In mongodb/mongo-php-driver@d679bfe, we removed that macro but ported the directory search logic to CheckSSL.m4.

      This should be removed so that we can depend on pkg-config as is done in PHP 7.4+.

      We might still want to leave the PHP_CHECK_LIBRARY code in place (else condition of PKG_CHECK_MODULES) if that is ultimately necessary for FreeBSD compatibility.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: