Mercurial > hg > octave-jordi > gnulib-hg
view m4/wint_t.m4 @ 7185:90f5608d1c64
* stdint_h.m4 (gl_AC_HEADER_STDINT_H): Avoid compiler warning.
* inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise.
* longlong.m4 (AC_TYPE_LONG_LONG_INT): Likewise.
* intmax_t.m4 (gt_AC_TYPE_INTMAX_T): Likewise.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 22 Aug 2006 21:16:36 +0000 |
parents | adff74659d81 |
children | 72bd6a3bf181 |
line wrap: on
line source
# wint_t.m4 serial 1 (gettext-0.12) dnl Copyright (C) 2003 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Test whether <wchar.h> has the 'wint_t' type. dnl Prerequisite: AC_PROG_CC AC_DEFUN([gt_TYPE_WINT_T], [ AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t, [AC_TRY_COMPILE([#include <wchar.h> wint_t foo = (wchar_t)'\0';], , gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)]) if test $gt_cv_c_wint_t = yes; then AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.]) fi ])