2N/Adnl Copyright (C) 2003, 2007-2010 Free Software Foundation, Inc.
2N/Adnl This file is free software; the Free Software Foundation
2N/Adnl gives unlimited permission to copy
and/or distribute it,
2N/Adnl with or without modifications, as long as this notice is preserved.
2N/Adnl From Bruno Haible.
2N/Adnl Prerequisite: AC_PROG_CC
2N/AAC_DEFUN([gt_TYPE_WINT_T],
2N/A AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t],
2N/A/* Tru64 with Desktop Toolkit C has a bug: <
stdio.h> must be included before
2N/A wint_t foo = (wchar_t)'\0';]],
2N/A [gt_cv_c_wint_t=yes],
2N/A [gt_cv_c_wint_t=no])])
2N/A if test $gt_cv_c_wint_t = yes; then
2N/A AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.])