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

Fix warning for missing M4 include files during PECL install

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.17.0
    • Affects Version/s: 1.5.0
    • Component/s: None
    • None

      config.m4 has the following macro for checking that a macro file exists before we sinclude:

      m4_pushdef([_include],[
        if test ! \( -f "$1" -o -f "ext/mongodb/$1" \); then
          AC_MSG_ERROR([m4 could not include $1: No such file or directory])
        fi
        m4_builtin([sinclude],[$1])
        m4_builtin([sinclude],[ext/mongodb/][$1])
      ])
      

      The test logic does not seem to work during a PECL install.

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

              Created:
              Updated:
              Resolved: