Print mongoc and libbson versions during configure

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.9.0-rc1, 1.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      checking Use system libbson... no
      checking configuring libmongoc... ...
      checking Use system libmongoc... no
      
      mongodb was configured with the following options:
      
      Build configuration:
        CFLAGS                                           : -g  -O0
        Extra CFLAGS                                     :  -pthread 
        Developers flags (slow)                          : 
        Code Coverage flags (extra slow)                 : 
        System mongoc                                    : no
        System libbson                                   : no
        LDFLAGS                                          : 
        EXTRA_LDFLAGS                                    : 
        MONGODB_SHARED_LIBADD                            : -lsasl2  -lssl -lcrypto -lrt  
      
      Please submit bugreports at:
        https://jira.mongodb.org/browse/PHPC
      

      This feels and looks backwards.

      We strongly recommend using the bundled mongoc and libbson versions and not the system version.

      This messaging needs to be reflected in these messages by flipping this around:

      "Using bundled mongoc... yes"


      It would also be nice if it actually included the mongoc/libbson versions. Something like this would be ideal:

      mongodb was configured with the following options:
      
      Build configuration:
        CFLAGS                                           : -g  -O0
        Extra CFLAGS                                     :  -pthread 
        Developers flags (slow)                          : 
        Code Coverage flags (extra slow)                 : 
        mongoc                                           : bundled (1.3.0-dev)
        libbson                                          : bundled (1.3.0-dev)
        LDFLAGS                                          : 
        EXTRA_LDFLAGS                                    : 
        MONGODB_SHARED_LIBADD                            : -lsasl2  -lssl -lcrypto -lrt  
      
      Please submit bugreports at:
        https://jira.mongodb.org/browse/PHPC
      

      or

      ...
        mongoc                                           : system (1.2.0)
        libbson                                          : system (1.2.0)
      ...
      

            Assignee:
            Andreas Braun
            Reporter:
            Hannes Magnusson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: