- dnl The following line is that so the user can test
- dnl HAVE_WCHAR_H && HAVE_WCTYPE_H before #include "mbchar.h".
- AC_CHECK_HEADERS_ONCE(wchar.h wctype.h)
- dnl Compile mbchar.c only if HAVE_WCHAR_H && HAVE_WCTYPE_H.
- if test $ac_cv_header_wchar_h = yes && test $ac_cv_header_wctype_h = yes; then
+ dnl The following line is that so the user can test HAVE_WCHAR_H
+ dnl before #include "mbchar.h".
+ AC_CHECK_HEADERS_ONCE([wchar.h])
+ dnl Compile mbchar.c only if HAVE_WCHAR_H.
+ if test $ac_cv_header_wchar_h = yes; then