~nutznboltz-deactivatedaccount/ubuntu/precise/gnutls26/fix-lp926350

« back to all changes in this revision

Viewing changes to lib/gl/m4/netdb_h.m4

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-10-01 15:28:13 UTC
  • mfrom: (12.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20111001152813-yygm1c4cxonfxhzy
Tags: 2.12.11-1
* New upstream version.
  + Allow CA importing of 0 certificates to succeed. Closes: #640639
* Add libp11-kit-dev to libgnutls-dev dependencies. (see #643811)
* [20_guiledocstring.diff] guile: Fix docstring extraction with CPP 4.5+.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# netdb_h.m4 serial 9
2
 
dnl Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 
1
# netdb_h.m4 serial 11
 
2
dnl Copyright (C) 2008-2011 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.
7
7
AC_DEFUN([gl_HEADER_NETDB],
8
8
[
9
9
  AC_REQUIRE([gl_NETDB_H_DEFAULTS])
10
 
  AC_CHECK_HEADERS_ONCE([netdb.h])
11
10
  gl_CHECK_NEXT_HEADERS([netdb.h])
12
11
  if test $ac_cv_header_netdb_h = yes; then
13
12
    HAVE_NETDB_H=1
27
26
  dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
28
27
  AC_REQUIRE([gl_NETDB_H_DEFAULTS])
29
28
  gl_MODULE_INDICATOR_SET_VARIABLE([$1])
 
29
  dnl Define it also as a C macro, for the benefit of the unit tests.
 
30
  gl_MODULE_INDICATOR_FOR_TESTS([$1])
30
31
])
31
32
 
32
33
AC_DEFUN([gl_NETDB_H_DEFAULTS],
38
39
  HAVE_DECL_GAI_STRERROR=1; AC_SUBST([HAVE_DECL_GAI_STRERROR])
39
40
  HAVE_DECL_GETADDRINFO=1;  AC_SUBST([HAVE_DECL_GETADDRINFO])
40
41
  HAVE_DECL_GETNAMEINFO=1;  AC_SUBST([HAVE_DECL_GETNAMEINFO])
 
42
  REPLACE_GAI_STRERROR=0;   AC_SUBST([REPLACE_GAI_STRERROR])
41
43
])