~ubuntu-branches/ubuntu/intrepid/parted/intrepid

« back to all changes in this revision

Viewing changes to gnulib/m4/wctype.m4

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-06-24 14:31:05 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080624143105-rd7yw67a9qnvh51i
Tags: 1.8.8.git.2008.03.24-7ubuntu1
* Resynchronise with Debian (LP: #237568). Remaining changes:
  - swap-uuid.dpatch: Create UUIDs on new swap partitions.
  - gptsync.dpatch: On Intel Mac systems, write a synced MBR rather than a
    protective MBR.
  - Add -fno-stack-protector on sparc.
  - sparc-new-label.dpatch: Fix sparc disk label generation. This is
    required for LDOM and parallel installations with Solaris 10.
  - loop-partitions.dpatch: Loop devices can only have one partition, so
    don't generate device names such as "/dev/loop0p1".
  - unpartitioned-disks.dpatch: Don't try to call BLKPG ioctls on
    unpartitionable disks (only implemented for loop devices at the
    moment), as they will always fail.
  - When building with gcc-4.3, add -Wno-array-bounds to CFLAGS.
  - Cell partition tables are misdetected as pc98, so disable pc98 support
    on powerpc.
  - array-bounds.dpatch: Backport patch from git to allow building with
    gcc-4.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl A placeholder for ISO C99 <wctype.h>, for platforms that lack it.
 
2
 
 
3
dnl Copyright (C) 2006, 2007 Free Software Foundation, Inc.
 
4
dnl This file is free software; the Free Software Foundation
 
5
dnl gives unlimited permission to copy and/or distribute it,
 
6
dnl with or without modifications, as long as this notice is preserved.
 
7
 
 
8
dnl Written by Paul Eggert.
 
9
 
 
10
AC_DEFUN([gl_WCTYPE_H],
 
11
[
 
12
  AC_CHECK_FUNCS_ONCE([iswcntrl])
 
13
  if test $ac_cv_func_iswcntrl = yes; then
 
14
    HAVE_ISWCNTRL=1
 
15
  else
 
16
    HAVE_ISWCNTRL=0
 
17
  fi
 
18
  AC_SUBST([HAVE_ISWCNTRL])
 
19
  AC_CHECK_HEADERS_ONCE([wctype.h])
 
20
  AC_REQUIRE([AC_C_INLINE])
 
21
 
 
22
  AC_REQUIRE([gt_TYPE_WINT_T])
 
23
  if test $gt_cv_c_wint_t = yes; then
 
24
    HAVE_WINT_T=1
 
25
  else
 
26
    HAVE_WINT_T=0
 
27
  fi
 
28
  AC_SUBST([HAVE_WINT_T])
 
29
 
 
30
  WCTYPE_H=wctype.h
 
31
  if test $ac_cv_header_wctype_h = yes; then
 
32
    if test $ac_cv_func_iswcntrl = yes; then
 
33
      WCTYPE_H=
 
34
    fi
 
35
    dnl Compute NEXT_WCTYPE_H even if WCTYPE_H is empty,
 
36
    dnl for the benefit of builds from non-distclean directories.
 
37
    gl_CHECK_NEXT_HEADERS([wctype.h])
 
38
    HAVE_WCTYPE_H=1
 
39
  else
 
40
    HAVE_WCTYPE_H=0
 
41
  fi
 
42
  AC_SUBST([HAVE_WCTYPE_H])
 
43
  AC_SUBST([WCTYPE_H])
 
44
])