Skip to content

Commit d1a0df9

Browse files
committed
Temporary fix of config.m4 for PECL installs
Needs to be addressed through PHPC-1218 properly.
1 parent 9fc4ed8 commit d1a0df9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

config.m4

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,10 @@ if test "$PHP_MONGODB" != "no"; then
237237
dnl exists, report an error during configure (this is later than M4 parsing
238238
dnl during phpize but better than nothing).
239239
m4_pushdef([_include],[
240-
if test ! \( -f "$1" -o -f "ext/mongodb/$1" \); then
241-
AC_MSG_ERROR([m4 could not include $1: No such file or directory])
242-
fi
240+
dnl TODO: Fix this for PECL install (PHPC-1218)
241+
dnl if test ! \( -f "$1" -o -f "ext/mongodb/$1" \); then
242+
dnl AC_MSG_ERROR([m4 could not include $1: No such file or directory])
243+
dnl fi
243244
m4_builtin([sinclude],[$1])
244245
m4_builtin([sinclude],[ext/mongodb/][$1])
245246
])

0 commit comments

Comments
 (0)