~ubuntu-branches/ubuntu/precise/wget/precise-proposed

« back to all changes in this revision

Viewing changes to m4/stddef_h.m4

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-10-19 00:00:09 UTC
  • mfrom: (2.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20111019000009-8p33w3wz4b1rdri0
Tags: 1.13-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add wget-udeb to ship wget.gnu as alternative to busybox wget
    implementation.
  - Depend on libssl-dev 0.9.8k-7ubuntu4 (LP: #503339)
* Dropped changes, superseded in Debian:
  - Keep build dependencies in main:
    + debian/control: remove info2man build-dep
    + debian/patches/series: disable wget-infopod_generated_manpage
  - Mark wget Multi-Arch: foreign, so packages that aren't of the same arch
    can depend on it.
* Pass --with-ssl=openssl; we don't want to use gnutls, there's no udeb for
  it.
* Add a second build pass for the udeb, so we can build without libidn.

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 1
3
 
dnl Copyright (C) 2009 Free Software Foundation, Inc.
 
2
# stddef_h.m4 serial 4
 
3
dnl Copyright (C) 2009-2011 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
 
33
36
[
34
37
  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
35
38
  AC_REQUIRE([gl_STDDEF_H_DEFAULTS])
36
 
  GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1
 
39
  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
37
40
])
38
41
 
39
42
AC_DEFUN([gl_STDDEF_H_DEFAULTS],
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
])