~ubuntu-branches/ubuntu/oneiric/libvirt/oneiric-updates

« back to all changes in this revision

Viewing changes to gnulib/m4/manywarnings.m4

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2011-05-11 12:29:51 UTC
  • mfrom: (1.2.10) (3.4.30 sid)
  • Revision ID: package-import@ubuntu.com-20110511122951-ku5fk1tv37o5aymm
Tags: 0.9.1-1ubuntu1
* Resynchronize and merge from Debian unstable (LP: #794378). Remaining
  changes:
  - debian/control:
    * set X-Python-Version to 2.7, as 2.6 is not in oneiric.
    * set ubuntu maintainer
    * Build-Depends:
      - remove [linux-any] from all dependencies
      - remove [!linux-any] deps
      - swap libxen to libxen3, qemu to qemu-kvm, and open-iscsi to
        open-iscsi-utils in Build-Depends
      - remove virtualbox-ose Build-Depends
      - add parted and libapparmor-dev Build-Depends
    * convert Vcs-Git to Xs-Debian-Vcs-Git
    * libvirt-bin Depends: move netcat-openbsd, bridge-utils, dnsmasq-base
      (>= 2.46-1), and iptables from Recommends to Depends
    * libvirt-bin Recommends: move qemu to Suggests
    * libvirt-bin Suggests: add apparmor
    * libvirt0 Recommands: move lvm2 to Suggests
  - keep debian/libvirt-bin.apport
  - keep debian/libvirt-bin.cron.daily
  - debian/libvirt-bin.dirs:
    * add apparmor, cron.daily, and apport dirs
  - debian/libvirt-bin.examples:
    * add debian/libvirt-suspendonreboot
  - debian/libvirt-bin.install:
    * add /etc/apparmor.d files
    * add apport hook
  - debian/libvirt-bin.manpages:
    * add debian/libvirt-migrate-qemu-disks.1
  - debian/libvirt-bin.postinst:
    * replace libvirt groupname with libvirtd
    * add each admin user to libvirtd group
    * call apparmor_parser on usr.sbin.libvirtd and
      usr.lib.libvirt.virt-aa-helper
    * call 'libvirt-migrate-qemu-disks -a' after
      libvirt-bin has started if migrating from
      older than 0.8.3-1ubuntu1
  - debian/libvirt-bin.postrm:
    * replace libvirt groupname with libvirtd
    * remove usr.sbin.libvirtd and
      usr.lib.libvirt.virt-aa-helper
  - keep added files under debian/:
    * libvirt-bin.upstart
    * libvirt-migrate-qemu-disks
    * libvirt-migrate-qemu-disks.1
    * libvirt-suspendonreboot
    * apparmor profiles
  - debian/README.Debian:
    * add 'Apparmor Profile' section
    * add 'Disk migration' section
  - debian/rules:
    * move include of debhelper.mk to top of file so DEB_HOST_ARCH_OS
      is defined.
    * don't build with vbox since virtualbox-ose is in universe
      - remove WITH_VBOX, add explicit --without-vbox
    * add --with-apparmor to DEB_CONFIGURE_EXTRA_FLAGS
    * set DEB_DH_INSTALLINIT_ARGS to '--upstart-only'
    * remove unneeded binary-install/libvirt-bin:: and clean::
      sections (they only deal with sysvinit stuff)
    * add build/libvirt-bin:: section to install
      - apparmor files
      - apport hooks
      - libvirt-migrate-qemu-disks
* debian/patches/series:
  - don't apply Disable-CHECKSUM-rule.patch: our iptables can do this
  - don't apply Debian-specific Debianize-libvirt-guests.patch (sysvinit only)
  - don't apply Disable qemu-disable-network.diff.patch
* debian/patches:
  - drop 9007-fix-daemon-conf-ftbfs.patch (looks like it may be fixed)
  - drop patches applied upstream:
    * 9022-drop-booton-when-kernel-specified.patch
    * 9023-fix-lxc-console-hangup.patch
    * 9024-fix-broken-commandtest.patch
    * 9025-Pass-virSecurityManagerPtr-to-virSecurityDAC-Set-Res.patch
    * 9026-security-avoid-memory-leak.patch
    * 9027-CVE-2011-1146.patch
  - keep patches:
    * 9000-delayed_iff_up_bridge.patch
    * 9001-dont_clobber_existing_bridges.patch
    * 9002-better_default_uri_virsh.patch
    * 9003-better-default-arch.patch
    * 9004-libvirtd-group-name.patch
    * 9005-increase-unix-socket-timeout.patch
    * 9006-default-config-test-case.patch
    * 9011-move-ebtables-script.patch (refreshed)
    * 9014-skip-nodeinfotest.patch (modified to make it apply)
    * 9020-lp545795.patch (modified to make it still apply)
    * 9021-fix-uint64_t.patch
    * 9022-allows-lxc-containers-with-lxcguest.patch (renamed, modified
      to make it still apply, and added DEP-3 tags).
  - new patches:
    * 9023-disable-test-poll.patch - don't run broken test-poll

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- buffer-read-only: t -*- vi: set ro:
 
2
# DO NOT EDIT! GENERATED AUTOMATICALLY!
 
3
# manywarnings.m4 serial 1
 
4
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
 
5
dnl This file is free software; the Free Software Foundation
 
6
dnl gives unlimited permission to copy and/or distribute it,
 
7
dnl with or without modifications, as long as this notice is preserved.
 
8
 
 
9
dnl From Simon Josefsson
 
10
 
 
11
# gl_MANYWARN_COMPLEMENT(OUTVAR, LISTVAR, REMOVEVAR)
 
12
# --------------------------------------------------
 
13
# Copy LISTVAR to OUTVAR except for the entries in REMOVEVAR.
 
14
# Elements separated by whitespace.  In set logic terms, the function
 
15
# does OUTVAR = LISTVAR \ REMOVEVAR.
 
16
AC_DEFUN([gl_MANYWARN_COMPLEMENT],
 
17
[
 
18
  gl_warn_set=
 
19
  set x $2; shift
 
20
  for gl_warn_item
 
21
  do
 
22
    case " $3 " in
 
23
      *" $gl_warn_item "*)
 
24
        ;;
 
25
      *)
 
26
        gl_warn_set="$gl_warn_set $gl_warn_item"
 
27
        ;;
 
28
    esac
 
29
  done
 
30
  $1=$gl_warn_set
 
31
])
 
32
 
 
33
# gl_MANYWARN_ALL_GCC(VARIABLE)
 
34
# -----------------------------
 
35
# Add all documented GCC (currently as per version 4.4) warning
 
36
# parameters to variable VARIABLE.  Note that you need to test them
 
37
# using gl_WARN_ADD if you want to make sure your gcc understands it.
 
38
AC_DEFUN([gl_MANYWARN_ALL_GCC],
 
39
[
 
40
 gl_manywarn_set=
 
41
 for gl_manywarn_item in \
 
42
   -Wall \
 
43
   -W \
 
44
   -Wformat-y2k \
 
45
   -Wformat-nonliteral \
 
46
   -Wformat-security \
 
47
   -Winit-self \
 
48
   -Wmissing-include-dirs \
 
49
   -Wswitch-default \
 
50
   -Wswitch-enum \
 
51
   -Wunused \
 
52
   -Wunknown-pragmas \
 
53
   -Wstrict-aliasing \
 
54
   -Wstrict-overflow \
 
55
   -Wsystem-headers \
 
56
   -Wfloat-equal \
 
57
   -Wtraditional \
 
58
   -Wtraditional-conversion \
 
59
   -Wdeclaration-after-statement \
 
60
   -Wundef \
 
61
   -Wshadow \
 
62
   -Wunsafe-loop-optimizations \
 
63
   -Wpointer-arith \
 
64
   -Wbad-function-cast \
 
65
   -Wc++-compat \
 
66
   -Wcast-qual \
 
67
   -Wcast-align \
 
68
   -Wwrite-strings \
 
69
   -Wconversion \
 
70
   -Wsign-conversion \
 
71
   -Wlogical-op \
 
72
   -Waggregate-return \
 
73
   -Wstrict-prototypes \
 
74
   -Wold-style-definition \
 
75
   -Wmissing-prototypes \
 
76
   -Wmissing-declarations \
 
77
   -Wmissing-noreturn \
 
78
   -Wmissing-format-attribute \
 
79
   -Wpacked \
 
80
   -Wpadded \
 
81
   -Wredundant-decls \
 
82
   -Wnested-externs \
 
83
   -Wunreachable-code \
 
84
   -Winline \
 
85
   -Winvalid-pch \
 
86
   -Wlong-long \
 
87
   -Wvla \
 
88
   -Wvolatile-register-var \
 
89
   -Wdisabled-optimization \
 
90
   -Wstack-protector \
 
91
   -Woverlength-strings \
 
92
   -Wbuiltin-macro-redefined \
 
93
   -Wmudflap \
 
94
   -Wpacked-bitfield-compat \
 
95
   -Wsync-nand \
 
96
  ; do
 
97
    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
 
98
  done
 
99
 # The following are not documented in the manual but are included in
 
100
 # output from gcc --help=warnings.
 
101
 for gl_manywarn_item in \
 
102
   -Wattributes \
 
103
   -Wcoverage-mismatch \
 
104
   -Wmultichar \
 
105
   -Wunused-macros \
 
106
  ; do
 
107
    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
 
108
  done
 
109
  $1=$gl_manywarn_set
 
110
])