X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=md5%2Fm4%2Fwchar.m4;h=ce53a45cf5c4a8481933f2307f3e44f7a90ba0d4;hp=2e52a82acfb9a94e00ca1ef12729f3294995f64b;hb=2456d9bc547aacc8ad387f441e81455cd9301fe7;hpb=55437151ba00082c60fc6be5eba12859432ddb1f diff --git a/md5/m4/wchar.m4 b/md5/m4/wchar.m4 index 2e52a82a..ce53a45c 100644 --- a/md5/m4/wchar.m4 +++ b/md5/m4/wchar.m4 @@ -7,7 +7,7 @@ dnl with or without modifications, as long as this notice is preserved. dnl Written by Eric Blake. -# wchar.m4 serial 23 +# wchar.m4 serial 25 AC_DEFUN([gl_WCHAR_H], [ @@ -27,7 +27,10 @@ wchar_t w;]], fi AC_SUBST([HAVE_WINT_T]) - if test $gl_cv_header_wchar_h_standalone != yes || test $gt_cv_c_wint_t != yes; then + dnl If is replaced, then must also be replaced. + AC_REQUIRE([gl_STDDEF_H]) + + if test $gl_cv_header_wchar_h_standalone != yes || test $gt_cv_c_wint_t != yes || test -n "$STDDEF_H"; then WCHAR_H=wchar.h fi