~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to m4/wctob.m4

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-11-28 03:03:42 UTC
  • mfrom: (8.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20121128030342-21zanj8354gas5gr
Tags: 8.20-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Make 'uname -i -p' return the real processor/hardware, instead of
    unknown.
  - Build-depend on gettext:any instead of on gettext, so that apt-get can
    properly resolve build-dependencies on the tool when cross-building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# wctob.m4 serial 9
2
 
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
 
1
# wctob.m4 serial 10
 
2
dnl Copyright (C) 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.
104
104
    if test $REPLACE_WCTOB = 0; then
105
105
 
106
106
      dnl IRIX 6.5 has the wctob() function but does not declare it.
107
 
      AC_CHECK_DECLS([wctob], [], [], [
 
107
      AC_CHECK_DECLS([wctob], [], [], [[
108
108
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
109
109
   <wchar.h>.
110
110
   BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
113
113
#include <stdio.h>
114
114
#include <time.h>
115
115
#include <wchar.h>
116
 
])
 
116
]])
117
117
      if test $ac_cv_have_decl_wctob != yes; then
118
118
        HAVE_DECL_WCTOB=0
119
119
      fi