com php-src: Fix typo in config.m4: ext/standard/config.m4
| From: | Peter Kokot | Date: | Sun, 29 Jul 2018 04:10:16 +0000 |
| Subject: | com php-src: Fix typo in config.m4: ext/standard/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102704@lists.php.net to get a copy of this message | ||
Commit: 0a01eae039bd0325864d1b09890b7f3c03d79e11
Author: Peter Kokot <petk@php.net> Sun, 29 Jul 2018 06:10:16 +0200
Parents: cf3b852109a88a11370d0207cd3b72a53b6a64c3
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0a01eae039bd0325864d1b09890b7f3c03d79e11
Log:
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.
Changed paths:
M ext/standard/config.m4
Diff:
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4
index 7818266..160a022 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