Fix warning for missing M4 include files during PECL install

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.17.0
    • Affects Version/s: 1.5.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: