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

Accept "yes" and no value for non-binary PHP_ARG_WITH() options

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      With the change to our own configure logic for SASL, we seem to have missed the case where a "naked" --with-mongodb-sasl was provided. Unlike providing no option, this does not default to the default argument defined in the PHP_ARG_WITH (which is "auto"). This means that by passing just --with-mongodb-sasl we throw a warning that "yes" is not a supported value.

      To correct this, we should interpret "yes" as "auto but warn if nothing is found".

            Assignee:
            derick Derick Rethans
            Reporter:
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: