~ubuntu-branches/ubuntu/vivid/parted/vivid

« back to all changes in this revision

Viewing changes to m4/mbstate_t.m4

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2014-07-21 10:23:16 UTC
  • mfrom: (7.2.32 sid)
  • Revision ID: package-import@ubuntu.com-20140721102316-jsyv3yzmbo8vlde5
Tags: 3.1-3
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# mbstate_t.m4 serial 12
2
 
dnl Copyright (C) 2000-2002, 2008-2010 Free Software Foundation, Inc.
 
1
# mbstate_t.m4 serial 13
 
2
dnl Copyright (C) 2000-2002, 2008-2012 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
5
5
dnl with or without modifications, as long as this notice is preserved.
20
20
     [AC_COMPILE_IFELSE(
21
21
        [AC_LANG_PROGRAM(
22
22
           [AC_INCLUDES_DEFAULT[
23
 
#           include <wchar.h>]],
 
23
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
 
24
   <wchar.h>.
 
25
   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be
 
26
   included before <wchar.h>.  */
 
27
#include <stddef.h>
 
28
#include <stdio.h>
 
29
#include <time.h>
 
30
#include <wchar.h>]],
24
31
           [[mbstate_t x; return sizeof x;]])],
25
32
        [ac_cv_type_mbstate_t=yes],
26
33
        [ac_cv_type_mbstate_t=no])])