Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1119

m4_esyscmd_s not defined in old autoconf

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.4.0
    • Affects Version/s: None
    • Component/s: Build, libbson, libmongoc
    • Labels:
      None

      I started using m4_esyscmd_s to implement CDRIVER-1013. It's a macro that runs a system command and trims whitespace from the output:

      m4_esyscmd_s(cat VERSION_CURRENT)
      

      That works with my version of autoconf, 2.69, but it's not available in autoconf 2.63 on RHEL 6.2. Instead, do:

              m4_esyscmd(cat VERSION_CURRENT | tr -d '\n')
      

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: