~ubuntu-branches/ubuntu/karmic/libvirt/karmic-proposed

« back to all changes in this revision

Viewing changes to gnulib/m4/stdlib_h.m4

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2009-02-11 01:01:42 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20090211010142-8zrm7z1u6ryfhkiq
Tags: 0.6.0-1ubuntu1
* Merge with Debian experimental. Remaining changes:
  - debian/control:
    + Don't build-depend on QEmu.
    + Add "XS-Debian-" prefix to Debian's Vcs headers.
    + Bump bridge-utils, dnsmasq-base, netcat-openbsd, and iptables
      to Depends of libvirt-bin.
    + s/interract/interact/g
    + Add versioned Conflicts/Replaces to libvirt0 for libvirt0-dbg,
      since we used to ship them as such.
  - Rename libvirt group to libvirtd.
  - 0005-delayed_iff_up_bridge.patch: Don't try to bring up the bridge
    before at least one interface has been added to it.
  - dont_clobber_existing_bridges.patch: Assign the name of the virtual
    bridge dynamically to avoid interfering with existing bridges.
  - better_default_uri_virsh.patch: Default to qemu:///system if the
    user has write access to the libvirt socket, otherwise
    qemu:///session.
  - We call libxen-dev libxen3-dev, so change all references.
  - Included (but did not enable) opennebula patch (since it's not in
    main yet).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# stdlib_h.m4 serial 13
2
 
dnl Copyright (C) 2007, 2008 Free Software Foundation, Inc.
 
1
# stdlib_h.m4 serial 14
 
2
dnl Copyright (C) 2007-2009 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.
8
8
[
9
9
  AC_REQUIRE([gl_STDLIB_H_DEFAULTS])
10
10
  gl_CHECK_NEXT_HEADERS([stdlib.h])
 
11
  AC_CHECK_HEADERS([random.h])
 
12
  if test $ac_cv_header_random_h = yes; then
 
13
    HAVE_RANDOM_H=1
 
14
  else
 
15
    HAVE_RANDOM_H=0
 
16
  fi
 
17
  AC_SUBST([HAVE_RANDOM_H])
11
18
  AC_CHECK_TYPES([struct random_data],
12
19
    [], [HAVE_STRUCT_RANDOM_DATA=0],
13
 
    [[#include <stdlib.h>]])
 
20
    [[#include <stdlib.h>
 
21
      #if HAVE_RANDOM_H
 
22
      # include <random.h>
 
23
      #endif
 
24
    ]])
14
25
])
15
26
 
16
27
AC_DEFUN([gl_STDLIB_MODULE_INDICATOR],