diff options
author | Peter Kokot <petk@php.net> | 2018-07-29 06:10:16 +0200 |
---|---|---|
committer | Peter Kokot <petk@php.net> | 2018-07-29 06:10:16 +0200 |
commit | 0a01eae039bd0325864d1b09890b7f3c03d79e11 (patch) | |
tree | e263b6c1516a2035443558de7f12b62884d3efec /ext/standard | |
parent | cf3b852109a88a11370d0207cd3b72a53b6a64c3 (diff) | |
download | php-git-0a01eae039bd0325864d1b09890b7f3c03d79e11.tar.gz |
Fix typo in config.m4
The AC_CHECK_FUNCS has the following synopsis:
AC_CHECK_FUNCS(function..., [action-if-found], [action-if-not-found]).
Fourth argument doesn't exist.
Diffstat (limited to 'ext/standard')
-rw-r--r-- | ext/standard/config.m4 | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 7818266f24..160a022e68 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -377,12 +377,7 @@ dnl dnl Check for i18n capabilities dnl AC_CHECK_HEADERS([wchar.h]) -AC_CHECK_FUNCS([mblen]) -AC_CHECK_FUNCS([mbrlen mbsinit],,,[ -#ifdef HAVE_WCHAR_H -# include <wchar.h> -#endif -]) +AC_CHECK_FUNCS([mblen mbrlen mbsinit]) AC_CACHE_CHECK([for mbstate_t], [ac_cv_type_mbstate_t],[ AC_TRY_COMPILE([ #ifdef HAVE_WCHAR_H |