Skip to content

Commit 0a01eae

Browse files
committed
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.
1 parent cf3b852 commit 0a01eae

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ext/standard/config.m4

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -377,12 +377,7 @@ dnl
377377
dnl Check for i18n capabilities
378378
dnl
379379
AC_CHECK_HEADERS([wchar.h])
380-
AC_CHECK_FUNCS([mblen])
381-
AC_CHECK_FUNCS([mbrlen mbsinit],,,[
382-
#ifdef HAVE_WCHAR_H
383-
# include <wchar.h>
384-
#endif
385-
])
380+
AC_CHECK_FUNCS([mblen mbrlen mbsinit])
386381
AC_CACHE_CHECK([for mbstate_t], [ac_cv_type_mbstate_t],[
387382
AC_TRY_COMPILE([
388383
#ifdef HAVE_WCHAR_H

0 commit comments

Comments
 (0)