~ubuntu-branches/ubuntu/trusty/grub2/trusty

« back to all changes in this revision

Viewing changes to m4/stddef_h.m4

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2014-01-16 15:18:04 UTC
  • mfrom: (17.6.38 experimental)
  • Revision ID: package-import@ubuntu.com-20140116151804-3foouk7fpqcq3sxx
Tags: 2.02~beta2-2
* Convert patch handling to git-dpm.
* Add bi-endian support to ELF parser (Tomohiro B Berry).
* Adjust restore_mkdevicemap.patch to mark get_kfreebsd_version as static,
  to appease "gcc -Werror=missing-prototypes".
* Cherry-pick from upstream:
  - Change grub-macbless' manual page section to 8.
* Install grub-glue-efi, grub-macbless, grub-render-label, and
  grub-syslinux2cfg.
* grub-shell: Pass -no-pad to xorriso when building floppy images.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
dnl A placeholder for POSIX 2008 <stddef.h>, for platforms that have issues.
2
 
# stddef_h.m4 serial 2
3
 
dnl Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 
2
# stddef_h.m4 serial 4
 
3
dnl Copyright (C) 2009-2013 Free Software Foundation, Inc.
4
4
dnl This file is free software; the Free Software Foundation
5
5
dnl gives unlimited permission to copy and/or distribute it,
6
6
dnl with or without modifications, as long as this notice is preserved.
9
9
[
10
10
  AC_REQUIRE([gl_STDDEF_H_DEFAULTS])
11
11
  AC_REQUIRE([gt_TYPE_WCHAR_T])
 
12
  STDDEF_H=
12
13
  if test $gt_cv_c_wchar_t = no; then
13
14
    HAVE_WCHAR_T=0
14
15
    STDDEF_H=stddef.h
24
25
    REPLACE_NULL=1
25
26
    STDDEF_H=stddef.h
26
27
  fi
 
28
  AC_SUBST([STDDEF_H])
 
29
  AM_CONDITIONAL([GL_GENERATE_STDDEF_H], [test -n "$STDDEF_H"])
27
30
  if test -n "$STDDEF_H"; then
28
 
    gl_CHECK_NEXT_HEADERS([stddef.h])
 
31
    gl_NEXT_HEADERS([stddef.h])
29
32
  fi
30
33
])
31
34
 
41
44
  dnl Assume proper GNU behavior unless another module says otherwise.
42
45
  REPLACE_NULL=0;                AC_SUBST([REPLACE_NULL])
43
46
  HAVE_WCHAR_T=1;                AC_SUBST([HAVE_WCHAR_T])
44
 
  STDDEF_H='';                   AC_SUBST([STDDEF_H])
45
47
])