add configure check for curl

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • ALL
    • Security 2019-06-03
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, if I don't have 'curl-devel' package installed, the build will fail at:

      src/mongo/util/net/http_client_curl.cpp:35:10: fatal error: curl/curl.h: No such file or directory
       #include <curl/curl.h>
                ^~~~~~~~~~~~~
      

      Unlike other required headers, it appears we don't have a configure check for this one. It would be preferable to have the build fail at config time.

            Assignee:
            Sara Golemon (Inactive)
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: