From 3bebb94360f1c2333feb8d504a9fa4f96984d8b7 Mon Sep 17 00:00:00 2001 From: Andreas Rottmann Date: Mon, 14 Sep 2009 12:34:37 +0200 Subject: Imported Upstream version 0.9.1.1 --- gnulib-m4/wchar.m4 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gnulib-m4/wchar.m4') diff --git a/gnulib-m4/wchar.m4 b/gnulib-m4/wchar.m4 index 2e52a82a..ce53a45c 100644 --- a/gnulib-m4/wchar.m4 +++ b/gnulib-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 -- cgit v1.2.3