Browse Source

New upstream version 1.0.2~rc1

tags/upstream/1.0.2_rc1^0
Guido Günther 8 years ago
parent
commit
9335bdd76d
100 changed files with 34412 additions and 17733 deletions
  1. +249
    -237
      AUTHORS
  2. +3
    -0
      AUTHORS.in
  3. +5512
    -2510
      ChangeLog
  4. +1
    -1
      GNUmakefile
  5. +4
    -4
      INSTALL
  6. +4
    -4
      Makefile.am
  7. +26
    -10
      Makefile.in
  8. +10522
    -0
      NEWS
  9. +23
    -1
      aclocal.m4
  10. +24
    -19
      build-aux/config.guess
  11. +81
    -57
      build-aux/config.rpath
  12. +46
    -32
      build-aux/config.sub
  13. +262
    -215
      build-aux/depcomp
  14. +1
    -1
      build-aux/gitlog-to-changelog
  15. +7
    -7
      build-aux/install-sh
  16. +1
    -1
      build-aux/mktempd
  17. +1
    -1
      build-aux/snippet/arg-nonnull.h
  18. +1
    -1
      build-aux/snippet/c++defs.h
  19. +1
    -1
      build-aux/snippet/unused-parameter.h
  20. +2
    -2
      build-aux/snippet/warn-on-use.h
  21. +1
    -1
      build-aux/useless-if-before-free
  22. +1
    -1
      build-aux/vc-list-files
  23. +38
    -17
      cfg.mk
  24. +109
    -79
      config.h.in
  25. +11618
    -10367
      configure
  26. +180
    -914
      configure.ac
  27. +42
    -30
      daemon/Makefile.am
  28. +123
    -63
      daemon/Makefile.in
  29. +9
    -9
      daemon/libvirtd-config.c
  30. +55
    -20
      daemon/libvirtd.c
  31. +6
    -5
      daemon/libvirtd.h
  32. +45
    -0
      daemon/lxc_dispatch.h
  33. +82
    -36
      daemon/remote.c
  34. +3
    -0
      daemon/remote.h
  35. +90
    -16
      daemon/remote_dispatch.h
  36. +3
    -3
      daemon/stream.c
  37. +21
    -6
      docs/Makefile.am
  38. +43
    -12
      docs/Makefile.in
  39. +29
    -27
      docs/apibuild.py
  40. +226
    -21
      docs/devhelp/libvirt-libvirt.html
  41. +24
    -74
      docs/devhelp/libvirt-virterror.html
  42. +21
    -0
      docs/devhelp/libvirt.devhelp
  43. +101
    -13
      docs/formatdomain.html
  44. +105
    -12
      docs/formatdomain.html.in
  45. +1
    -3
      docs/generic.css
  46. +27
    -5
      docs/hacking.html
  47. +29
    -5
      docs/hacking.html.in
  48. +1596
    -1285
      docs/html/libvirt-libvirt.html
  49. +34
    -41
      docs/html/libvirt-virterror.html
  50. +1
    -1
      docs/hvsupport.html
  51. +157
    -119
      docs/hvsupport.html.in
  52. +40
    -0
      docs/hvsupport.pl
  53. +354
    -119
      docs/libvirt-api.xml
  54. +48
    -0
      docs/libvirt-lxc-api.xml
  55. +293
    -0
      docs/libvirt-lxc-refs.xml
  56. +1
    -1
      docs/libvirt-qemu-api.xml
  57. +563
    -246
      docs/libvirt-refs.xml
  58. +66
    -2
      docs/libvirt.css
  59. +176
    -123
      docs/newapi.xsl
  60. +370
    -370
      docs/news.html
  61. +370
    -370
      docs/news.html.in
  62. +22
    -6
      docs/schemas/Makefile.in
  63. +6
    -0
      docs/schemas/basictypes.rng
  64. +12
    -0
      docs/schemas/capability.rng
  65. +187
    -78
      docs/schemas/domaincommon.rng
  66. +1
    -0
      docs/schemas/nodedev.rng
  67. +1
    -0
      docs/schemas/storageencryption.rng
  68. +22
    -6
      examples/apparmor/Makefile.in
  69. +22
    -6
      examples/domain-events/events-c/Makefile.in
  70. +22
    -6
      examples/dominfo/Makefile.in
  71. +22
    -6
      examples/domsuspend/Makefile.in
  72. +22
    -6
      examples/hellolibvirt/Makefile.in
  73. +22
    -6
      examples/openauth/Makefile.in
  74. +22
    -6
      examples/python/Makefile.in
  75. +22
    -6
      examples/systemtap/Makefile.in
  76. +22
    -6
      examples/xml/nwfilter/Makefile.in
  77. +68
    -40
      gnulib/lib/Makefile.in
  78. +1
    -1
      gnulib/lib/accept.c
  79. +1
    -1
      gnulib/lib/alloca.in.h
  80. +1
    -1
      gnulib/lib/allocator.h
  81. +1
    -1
      gnulib/lib/areadlink.c
  82. +1
    -1
      gnulib/lib/areadlink.h
  83. +1
    -1
      gnulib/lib/arpa_inet.in.h
  84. +1
    -1
      gnulib/lib/asnprintf.c
  85. +1
    -1
      gnulib/lib/asprintf.c
  86. +4
    -4
      gnulib/lib/base64.c
  87. +1
    -1
      gnulib/lib/base64.h
  88. +1
    -1
      gnulib/lib/basename-lgpl.c
  89. +1
    -1
      gnulib/lib/binary-io.h
  90. +1
    -1
      gnulib/lib/bind.c
  91. +3
    -0
      gnulib/lib/bitrotate.c
  92. +18
    -11
      gnulib/lib/bitrotate.h
  93. +1
    -1
      gnulib/lib/btowc.c
  94. +1
    -1
      gnulib/lib/byteswap.in.h
  95. +1
    -1
      gnulib/lib/c-ctype.c
  96. +1
    -1
      gnulib/lib/c-ctype.h
  97. +1
    -1
      gnulib/lib/c-strcase.h
  98. +1
    -1
      gnulib/lib/c-strcasecmp.c
  99. +1
    -1
      gnulib/lib/c-strcasestr.c
  100. +1
    -1
      gnulib/lib/c-strcasestr.h

+ 249
- 237
AUTHORS View File

@@ -11,13 +11,16 @@ Alex Jia <ajia@redhat.com>
Anthony Liguori <aliguori@us.ibm.com>
Chris Lalancette <clalance@redhat.com>
Christophe Fergeau <cfergeau@redhat.com>
Claudio Bley <cbley@av-test.de>
Cole Robinson <crobinso@redhat.com>
Daniel Berrange <berrange@redhat.com>
Daniel Veillard <veillard@redhat.com>
Dave Allan <dallan@redhat.com>
Doug Goldstein <cardoe@gentoo.org>
Eric Blake <eblake@redhat.com>
Guannan Ren <gren@redhat.com>
Guido Günther <agx@sigxcpu.org>
Ján Tomko <jtomko@redhat.com>
Jim Fehlig <jfehlig@suse.com>
Jim Meyering <meyering@redhat.com>
Jiří Denemark <jdenemar@redhat.com>
@@ -77,243 +80,252 @@ Stefan de Konink <dekonink@kinkrsoftware.nl>
Takahashi Tomohiro <takatom@jp.fujitsu.com>
Tatsuro Enokura <fj7716hz@aa.jp.fujitsu.com>

Adam Litke <agl.ibm.com>
Alan Pevec <apevec.com>
Alex Jia <ajia.com>
Alex Williamson <alex.williamson.com>
Alexander Larsson <alexl.com>
Alexander Todorov <atodorov.bg>
Alon Levy <alevy.com>
Amy Griffis <amy.griffis.com>
Ansis Atteka <aatteka.com>
Anthony Liguori <aliguori.ibm.com>
Aron Griffis <aron.griffis.com>
Asad Saeed <asad.saeed.com>
Ata E Husain Bohra <ata.husain.com>
Atsushi SAKAI <sakaia.fujitsu.com>
Aurelien Rougemont <beorn.fr>
Bamvor Jian Zhang <bjzhang.com>
Beat Jörg <Beat.Joerg.ch>
Benjamin Cama <benoar.fr>
Bharata B Rao <bharata.vnet.ibm.com>
Bryan Kearney <bkearney.com>
Chang Liu <lingjiao.lc.com>
Charles Duffy <charles_duffy.com>
Chris Lalancette <clalance.com>
Chris Wong <wongc-redhat.net>
Chris Wright <chrisw.com>
Christian Benvenuti <benve.com>
Christian Franke <nobody.ws>
Christophe Fergeau <cfergeau.com>
Chuck Short <chuck.short.com>
Chuck Short <zulcss.com>
Cole Robinson <crobinso.com>
Dan Horák <dan.cz>
Dan Kenigsberg <danken.com>
Dan Smith <danms.ibm.com>
Daniel Berrange <berrange.com>
Daniel Berteaud <daniel-services.com>
Daniel Gollub <gollub-systems.de>
Daniel J Walsh <dwalsh.com>
Daniel P. Berrange <berrange.com>
Daniel Veillard <veillard.com>
Darryl L. Pierce <dpierce.com>
Dave Allan <dallan.com>
David Allan <dallan.com>
David Jorm <dfj.com>
David L Stevens <dlstevens.ibm.com>
David L. Leskovec <dlesko.vnet.ibm.com>
David S. Wang <dwang2.com>
David Weber <wb.de>
Davidlohr Bueso <dave.org>
Deepak C Shetty <deepakcs.vnet.ibm.com>
Diego Elio Pettenò <flameeyes.com>
Dipankar Sarma <dipankar.ibm.com>
Dirk Herrendoerfer <d.herrendoerfer.name>
Dmitry Guryanov <dguryanov.com>
Doug Goldstein <cardoe.com>
Douglas Schilling Landgraf <dougsland.com>
Duncan Rance <libvirt.com>
Dustin Kirkland <kirkland.com>
Dustin Xiong <x_k_123.com>
Dwight Engen <dwight.engen.com>
Ed Swierk <eswierk.com>
Eduardo Otubo <otubo.vnet.ibm.com>
Eiichi Tsukata <eiichi.tsukata.xh.com>
Eli Qiao <taget.vnet.ibm.com>
Eric Blake <eblake.com>
Ersek Laszlo <lacos.elte.hu>
Eugen Feller <eugen.feller.fr>
Federico Simoncelli <fsimonce.com>
Florian Vichot <florian.vichot.net>
Frido Roose <frido.roose.com>
Gao feng <gaofeng.fujitsu.com>
Garry Dolley <gdolley.com>
Gene Czarcinski <gene.net>
Gerd Hoffmann <kraxel.com>
Gerd v. Egidy <gerd.de>
Gerhard Stenzel <gerhard.stenzel.ibm.com>
Guannan Ren <gren.com>
Gui Jianfeng <guijianfeng.fujitsu.com>
Guido Günther <agx.org>
Harsh Prateek Bora <harsh.vnet.ibm.com>
Harshavardhana <harsha.com>
Heath Petersen <HeathPetersen.com>
Hendrik Schwartke <hendrik-t.de>
Henrik Persson E <henrik.e.persson.com>
Hero Phương <herophuong93.com>
Hu Tao <hutao.fujitsu.com>
Ilja Livenson <ilja.livenson.com>
J.B. Joret <jb.vnet.ibm.com>
Jamie Strandboge <jamie.com>
Jan Kiszka <jan.kiszka.com>
Jasper Lievisse Adriaanse <jasper.nl>
Jean-Baptiste Rouault <jean-baptiste.rouault.net>
Jesse Cook <code.crashenx.com>
Jim Fehlig <jfehlig.com>
Jim Meyering <meyering.com>
Jim Paris <jim.com>
Jiri Denemark <jdenemar.com>
John Levon <john.levon.com>
John Morrissey <jwm.net>
John Williams <john.williams.com>
Jonas Eriksson <jonas.j.eriksson.com>
Josh Durgin <josh.durgin.com>
Juerg Haefliger <juerg.haefliger.com>
Jun Koi <junkoi2004.com>
Justin Clift <jclift.com>
Ján Tomko <jtomko.com>
KAMEZAWA Hiroyuki <kamezawa.hiroyu.fujitsu.com>
Karel Zak <kzak.com>
Kay Schubert <kayegypt.de>
Kenneth Nagin <NAGIN.ibm.com>
Klaus Ethgen <Klaus.de>
Kyle Mestery <kmestery.com>
Lai Jiangshan <laijs.fujitsu.com>
Laine Stump <laine.com>
Laszlo Ersek <lersek.com>
Laurent Léonard <laurent-minds.org>
Lei Li <lilei.vnet.ibm.com>
Li Zhang <zhlcindy.vnet.ibm.com>
Lincoln Myers <lincoln_myers.com>
Lorin Hochstein <lorin.edu>
Luiz Capitulino <lcapitulino.com>
MATSUDA Daiki <matsudadik.co.jp>
MORITA Kazutaka <morita.kazutaka.ntt.co.jp>
Marc-André Lureau <marcandre.lureau.com>
Marcelo Cerri <mhcerri.vnet.ibm.com>
Marco Bozzolan <bozzolan.com>
Mark McLoughlin <markmc.com>
Mark Wu <dwu.com>
Markus Groß <gross.de>
Marti Raudsepp <marti.org>
Martin Kletzander <mkletzan.com>
Matthew Booth <mbooth.com>
Matthias Bolte <matthias.bolte.com>
Matthias Dahl <mdvirt.de>
Mattias Bolte <matthias.bolte.com>
Maximilian Wilhelm <max.org>
Michael Chapman <mike.puzzling.org>
Michael Ellerman <michael.id.au>
Michael Santos <michael.santos.com>
Michael Wood <esiotrot.com>
Michal Novotny <minovotn.com>
Michal Privoznik <mprivozn.com>
Michal Prívozník <mprivozn.com>
Michał Łomnicki <michal.lomnicki.com>
Miloslav Trmač <mitr.com>
Minoru Usui <usui.nes.nec.co.jp>
Nan Zhang <nzhang.com>
Naoya Horiguchi <n-horiguchi.jp.nec.com>
Natanael Copa <ncopa.org>
Neil Wilson <neil.co.uk>
Nguyen Anh Quynh <aquynh.com>
Niels de Vos <ndevos.com>
Nikunj A. Dadhania <nikunj.vnet.ibm.com>
Nishank Trivedi <nistrive.com>
Ohad Levy <ohadlevy.com>
Olivier Fourdan <ofourdan.com>
Osier Yang <jyang.com>
Oskari Saarenmaa <os.fi>
Paolo Bonzini <pbonzini.com>
Paolo Smiraglia <paolo.smiraglia.com>
Patrice LACHANCE <patlachance.com>
Patrick Dignan <pat_dignan.com>
Paul Eggert <eggert.ucla.edu>
Paweł Krześniak <pawel.krzesniak.com>
Peng Zhou <ailvpeng25.com>
Peter Feiner <peter.ca>
Peter Krempa <pkrempa.com>
Peter Robinson <pbrobinson.com>
Phil Petty <phpetty.com>
Philipp Hahn <hahn.de>
Prerna Saxena <prerna.vnet.ibm.com>
Pritesh Kothari <pritesh.kothari.com>
Radu Caragea <dmns_serp.com>
Richa Marwaha <rmarwah.vnet.ibm.com>
Richard Jones <rjones.com>
Richard Laager <rlaager.com>
Richard W.M. Jones <rjones.com>
Rolf Eike Beer <eike-mail.de>
Roman Bogorodskiy <bogorodskiy.com>
Rommer <rommer.by>
Ron Yorston <rmy.co.uk>
Roopa Prabhu <roprabhu.com>
Royce Lv <lvroyce.vnet.ibm.com>
Ruben Kerkhof <ruben.com>
Ryan Harper <ryanh.ibm.com>
Ryan Woodsmall <rwoodsmall.com>
Ryota Ozaki <ozaki.ryota.com>
Sage Weil <sage.net>
Sascha Peilicke <saschpe.de>
Satoru SATOH <satoru.satoh.com>
Scott Moser <smoser.com>
Scott Sullivan <ssullivan.com>
Sebastian Wiedenroth <wiedi.net>
Serge E. Hallyn <serge.hallyn.com>
Serge Hallyn <serge.hallyn.com>
Shahar Klein <shaharklein.com>
Sharadha Prabhakar <sharadha.prabhakar.com>
Shradha Shah <sshah.com>
Soren Hansen <soren.dk>
Spencer Shimko <sshimko.com>
Srivatsa S. Bhat <srivatsa.bhat.vnet.ibm.com>
Stef Walter <stefw.org>
Stefan Bader <stefan.bader.com>
Stefan Berger <stefanb.ibm.com>
Stefan Hajnoczi <stefanha.vnet.ibm.com>
Stefan Hajnoczi <stefanha.com>
Steve Hodgson <shodgson.com>
Steve Yarmie <steve.yarmie.com>
Sukadev Bhattiprolu <sukadev.vnet.ibm.com>
Supriya Kannery <supriyak.vnet.ibm.com>
Taisuke Yamada <tai.org>
Taizo ITO <taizo.ito.co.jp>
Taku Izumi <izumi.taku.fujitsu.com>
Tang Chen <tangchen.fujitsu.com>
Thang Pham <thang.pham.ibm.com>
Thibault VINCENT <thibault.vincent.com>
Thomas Treutner <thomas.at>
Thomas Woerner <twoerner.com>
Tiziano Mueller <dev-zero.org>
Tom Vijlbrief <tom.vijlbrief.nl>
Tyler Coumbes <coumbes.com>
Viktor Mihajlovski <mihajlov.vnet.ibm.com>
Vladislav Bogdanov <bubble-ok.com>
Václav Pavlín <vpavlin.com>
Wen Congyang <wency.fujitsu.com>
Wido den Hollander <wido.nl>
Wieland Hoffmann <themineo.com>
William Jon McCann <william.jon.mccann.com>
Wolfgang Mauerer <wolfgang.mauerer.com>
Xu He Jie <xuhj.vnet.ibm.com>
Yufang Zhang <yuzhang.com>
Yuji NISHIDA <nishidy.go.jp>
Yuri Chornoivan <yurchor.net>
Zdenek Styblik <stybla.net>
Zeeshan Ali (Khattak) <zeeshanak.org>
liguang <lig.fnst.fujitsu.com>
Марк Коренберг <socketpair.com>
Adam Litke <agl@us.ibm.com>
Alan Pevec <apevec@redhat.com>
Alex Jia <ajia@redhat.com>
Alex Williamson <alex.williamson@redhat.com>
Alexander Larsson <alexl@redhat.com>
Alexander Todorov <atodorov@otb.bg>
Alon Levy <alevy@redhat.com>
Amy Griffis <amy.griffis@hp.com>
Andres Lagar-Cavilla <andres@lagarcavilla.org>
Ansis Atteka <aatteka@nicira.com>
Anthony Liguori <aliguori@us.ibm.com>
Aron Griffis <aron.griffis@hp.com>
Asad Saeed <asad.saeed@acidseed.com>
Ata E Husain Bohra <ata.husain@hotmail.com>
Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
Atsushi SAKAI <sakaia@jp.fujitsu.com>
Aurelien Rougemont <beorn@binaries.fr>
Bamvor Jian Zhang <bjzhang@suse.com>
Beat Jörg <Beat.Joerg@ssatr.ch>
Benjamin Cama <benoar@dolka.fr>
Bharata B Rao <bharata@linux.vnet.ibm.com>
Bryan Kearney <bkearney@redhat.com>
Chang Liu <lingjiao.lc@taobao.com>
Charles Duffy <charles_duffy@messageone.com>
Chris Lalancette <clalance@redhat.com>
Chris Wong <wongc-redhat@hoku.net>
Chris Wright <chrisw@redhat.com>
Christian Benvenuti <benve@cisco.com>
Christian Franke <nobody@nowhere.ws>
Christophe Fergeau <cfergeau@redhat.com>
Chuck Short <chuck.short@canonical.com>
Chuck Short <zulcss@gmail.com>
Chunyan Liu <cyliu@suse.com>
Claudio Bley <cbley@av-test.de>
Cole Robinson <crobinso@redhat.com>
Dan Horák <dan@danny.cz>
Dan Kenigsberg <danken@redhat.com>
Dan Smith <danms@us.ibm.com>
Daniel Berrange <berrange@redhat.com>
Daniel Berteaud <daniel@firewall-services.com>
Daniel Gollub <gollub@b1-systems.de>
Daniel J Walsh <dwalsh@redhat.com>
Daniel P. Berrange <berrange@redhat.com>
Daniel Veillard <veillard@redhat.com>
Darryl L. Pierce <dpierce@redhat.com>
Dave Allan <dallan@redhat.com>
David Allan <dallan@redhat.com>
David Jorm <dfj@redhat.com>
David L Stevens <dlstevens@us.ibm.com>
David L. Leskovec <dlesko@linux.vnet.ibm.com>
David S. Wang <dwang2@cisco.com>
David Weber <wb@munzinger.de>
Davidlohr Bueso <dave@gnu.org>
Deepak C Shetty <deepakcs@linux.vnet.ibm.com>
Diego Elio Pettenò <flameeyes@gmail.com>
Dipankar Sarma <dipankar@in.ibm.com>
Dirk Herrendoerfer <d.herrendoerfer@herrendoerfer.name>
Dmitry Guryanov <dguryanov@parallels.com>
Doug Goldstein <cardoe@cardoe.com>
Douglas Schilling Landgraf <dougsland@redhat.com>
Duncan Rance <libvirt@dunquino.com>
Dustin Kirkland <kirkland@canonical.com>
Dustin Xiong <x_k_123@hotmail.com>
Dwight Engen <dwight.engen@oracle.com>
Ed Swierk <eswierk@aristanetworks.com>
Eduardo Otubo <otubo@linux.vnet.ibm.com>
Eiichi Tsukata <eiichi.tsukata.xh@hitachi.com>
Eli Qiao <taget@linux.vnet.ibm.com>
Eric Blake <eblake@redhat.com>
Ersek Laszlo <lacos@caesar.elte.hu>
Eugen Feller <eugen.feller@inria.fr>
Federico Simoncelli <fsimonce@redhat.com>
Florian Vichot <florian.vichot@diateam.net>
Frido Roose <frido.roose@gmail.com>
Gao feng <gaofeng@cn.fujitsu.com>
Garry Dolley <gdolley@arpnetworks.com>
Gene Czarcinski <gene@czarc.net>
Gerd Hoffmann <kraxel@redhat.com>
Gerd v. Egidy <gerd@egidy.de>
Gerhard Stenzel <gerhard.stenzel@de.ibm.com>
Guannan Ren <gren@redhat.com>
Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Guido Günther <agx@sigxcpu.org>
Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Harshavardhana <harsha@gluster.com>
Heath Petersen <HeathPetersen@Kandre.com>
Hendrik Schwartke <hendrik@os-t.de>
Henrik Persson E <henrik.e.persson@ericsson.com>
Hero Phương <herophuong93@gmail.com>
Hu Tao <hutao@cn.fujitsu.com>
Ilja Livenson <ilja.livenson@gmail.com>
J.B. Joret <jb@linux.vnet.ibm.com>
Jamie Strandboge <jamie@canonical.com>
Jan Kiszka <jan.kiszka@siemens.com>
Jasper Lievisse Adriaanse <jasper@humppa.nl>
Jean-Baptiste Rouault <jean-baptiste.rouault@diateam.net>
Jesse Cook <code.crashenx@gmail.com>
Jim Fehlig <jfehlig@suse.com>
Jim Meyering <meyering@redhat.com>
Jim Paris <jim@jtan.com>
Jiri Denemark <jdenemar@redhat.com>
John Eckersberg <jeckersb@redhat.com>
John Ferlan <jferlan@redhat.com>
John Levon <john.levon@sun.com>
John Morrissey <jwm@horde.net>
John Williams <john.williams@petalogix.com>
Jonas Eriksson <jonas.j.eriksson@ericsson.com>
Josh Durgin <josh.durgin@inktank.com>
Juerg Haefliger <juerg.haefliger@hp.com>
Jun Koi <junkoi2004@gmail.com>
Justin Clift <jclift@redhat.com>
Ján Tomko <jtomko@redhat.com>
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Karel Zak <kzak@redhat.com>
Kay Schubert <kayegypt@web.de>
Ken ICHIKAWA <ichikawa.ken@jp.fujitsu.com>
Kenneth Nagin <NAGIN@il.ibm.com>
Klaus Ethgen <Klaus@Ethgen.de>
Kyle Mestery <kmestery@cisco.com>
Lai Jiangshan <laijs@cn.fujitsu.com>
Laine Stump <laine@redhat.com>
Laszlo Ersek <lersek@redhat.com>
Laurent Léonard <laurent@open-minds.org>
Lei Li <lilei@linux.vnet.ibm.com>
Li Zhang <zhlcindy@linux.vnet.ibm.com>
Lincoln Myers <lincoln_myers@yahoo.com>
Lorin Hochstein <lorin@isi.edu>
Luiz Capitulino <lcapitulino@redhat.com>
MATSUDA Daiki <matsudadik@intellilink.co.jp>
MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Marc-André Lureau <marcandre.lureau@redhat.com>
Marcelo Cerri <mhcerri@linux.vnet.ibm.com>
Marco Bozzolan <bozzolan@gmail.com>
Mark McLoughlin <markmc@redhat.com>
Mark Wu <dwu@redhat.com>
Markus Groß <gross@univention.de>
Marti Raudsepp <marti@juffo.org>
Martin Kletzander <mkletzan@redhat.com>
Matthew Booth <mbooth@redhat.com>
Matthias Bolte <matthias.bolte@googlemail.com>
Matthias Dahl <mdvirt@designassembly.de>
Mattias Bolte <matthias.bolte@googlemail.com>
Maximilian Wilhelm <max@rfc2324.org>
Michael Chapman <mike@very.puzzling.org>
Michael Ellerman <michael@ellerman.id.au>
Michael Santos <michael.santos@gmail.com>
Michael Wood <esiotrot@gmail.com>
Michal Novotny <minovotn@redhat.com>
Michal Privoznik <mprivozn@redhat.com>
Michal Prívozník <mprivozn@redhat.com>
Michał Łomnicki <michal.lomnicki@gmail.com>
Miloslav Trmač <mitr@redhat.com>
Minoru Usui <usui@mxm.nes.nec.co.jp>
Nan Zhang <nzhang@redhat.com>
Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Natanael Copa <ncopa@alpinelinux.org>
Neil Wilson <neil@aldur.co.uk>
Nguyen Anh Quynh <aquynh@gmail.com>
Niels de Vos <ndevos@redhat.com>
Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com>
Nishank Trivedi <nistrive@cisco.com>
Ohad Levy <ohadlevy@gmail.com>
Olivier Fourdan <ofourdan@redhat.com>
Osier Yang <jyang@redhat.com>
Oskari Saarenmaa <os@ohmu.fi>
Paolo Bonzini <pbonzini@redhat.com>
Paolo Smiraglia <paolo.smiraglia@gmail.com>
Patrice LACHANCE <patlachance@gmail.com>
Patrick Dignan <pat_dignan@dell.com>
Paul Eggert <eggert@cs.ucla.edu>
Paweł Krześniak <pawel.krzesniak@gmail.com>
Peng Zhou <ailvpeng25@gmail.com>
Peter Feiner <peter@gridcentric.ca>
Peter Krempa <pkrempa@redhat.com>
Peter Robinson <pbrobinson@gmail.com>
Phil Petty <phpetty@cisco.com>
Philipp Hahn <hahn@univention.de>
Prerna Saxena <prerna@linux.vnet.ibm.com>
Pritesh Kothari <pritesh.kothari@sun.com>
Radu Caragea <dmns_serp@yahoo.com>
Reinier Schoof <reinier@transip.nl>
Richa Marwaha <rmarwah@linux.vnet.ibm.com>
Richard Jones <rjones@redhat.com>
Richard Laager <rlaager@wiktel.com>
Richard W.M. Jones <rjones@redhat.com>
Rolf Eike Beer <eike@sf-mail.de>
Roman Bogorodskiy <bogorodskiy@gmail.com>
Rommer <rommer@active.by>
Ron Yorston <rmy@tigress.co.uk>
Roopa Prabhu <roprabhu@cisco.com>
Royce Lv <lvroyce@linux.vnet.ibm.com>
Ruben Kerkhof <ruben@rubenkerkhof.com>
Ryan Harper <ryanh@us.ibm.com>
Ryan Woodsmall <rwoodsmall@gmail.com>
Ryota Ozaki <ozaki.ryota@gmail.com>
Sage Weil <sage@newdream.net>
Sascha Peilicke <saschpe@suse.de>
Satoru SATOH <satoru.satoh@gmail.com>
Scott Moser <smoser@ubuntu.com>
Scott Sullivan <ssullivan@liquidweb.com>
Sebastian Wiedenroth <wiedi@frubar.net>
Serge E. Hallyn <serge.hallyn@canonical.com>
Serge Hallyn <serge.hallyn@ubuntu.com>
Shahar Klein <shaharklein@yahoo.com>
Sharadha Prabhakar <sharadha.prabhakar@citrix.com>
Shradha Shah <sshah@solarflare.com>
Soren Hansen <soren@linux2go.dk>
Spencer Shimko <sshimko@tresys.com>
Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Stef Walter <stefw@gnome.org>
Stefan Bader <stefan.bader@canonical.com>
Stefan Berger <stefanb@us.ibm.com>
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Stefan Hajnoczi <stefanha@redhat.com>
Steve Hodgson <shodgson@solarflare.com>
Steve Yarmie <steve.yarmie@gmail.com>
Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Supriya Kannery <supriyak@linux.vnet.ibm.com>
Taisuke Yamada <tai@rakugaki.org>
Taizo ITO <taizo.ito@hde.co.jp>
Taku Izumi <izumi.taku@jp.fujitsu.com>
Tang Chen <tangchen@cn.fujitsu.com>
Thang Pham <thang.pham@us.ibm.com>
Thibault VINCENT <thibault.vincent@smartjog.com>
Thomas Treutner <thomas@scripty.at>
Thomas Woerner <twoerner@redhat.com>
Tiziano Mueller <dev-zero@gentoo.org>
Tom Vijlbrief <tom.vijlbrief@xs4all.nl>
Tyler Coumbes <coumbes@gmail.com>
Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Vladislav Bogdanov <bubble@hoster-ok.com>
Václav Pavlín <vpavlin@redhat.com>
Wen Congyang <wency@cn.fujitsu.com>
Wido den Hollander <wido@widodh.nl>
Wieland Hoffmann <themineo@googlemail.com>
William Jon McCann <william.jon.mccann@gmail.com>
Wolfgang Mauerer <wolfgang.mauerer@siemens.com>
Xu He Jie <xuhj@linux.vnet.ibm.com>
Yufang Zhang <yufang521247@gmail.com>
Yufang Zhang <yuzhang@redhat.com>
Yuji NISHIDA <nishidy@nict.go.jp>
Yuri Chornoivan <yurchor@ukr.net>
Zdenek Styblik <stybla@turnovfree.net>
Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
liguang <lig.fnst@cn.fujitsu.com>
Марк Коренберг <socketpair@gmail.com>

[....send patches to get your name here....]



+ 3
- 0
AUTHORS.in View File

@@ -11,13 +11,16 @@ Alex Jia <ajia@redhat.com>
Anthony Liguori <aliguori@us.ibm.com>
Chris Lalancette <clalance@redhat.com>
Christophe Fergeau <cfergeau@redhat.com>
Claudio Bley <cbley@av-test.de>
Cole Robinson <crobinso@redhat.com>
Daniel Berrange <berrange@redhat.com>
Daniel Veillard <veillard@redhat.com>
Dave Allan <dallan@redhat.com>
Doug Goldstein <cardoe@gentoo.org>
Eric Blake <eblake@redhat.com>
Guannan Ren <gren@redhat.com>
Guido Günther <agx@sigxcpu.org>
Ján Tomko <jtomko@redhat.com>
Jim Fehlig <jfehlig@suse.com>
Jim Meyering <meyering@redhat.com>
Jiří Denemark <jdenemar@redhat.com>


+ 5512
- 2510
ChangeLog
File diff suppressed because it is too large
View File


+ 1
- 1
GNUmakefile View File

@@ -5,7 +5,7 @@
# It is necessary if you want to build targets usually of interest
# only to the maintainer.

# Copyright (C) 2001, 2003, 2006-2012 Free Software Foundation, Inc.
# Copyright (C) 2001, 2003, 2006-2013 Free Software Foundation, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by


+ 4
- 4
INSTALL View File

@@ -1,7 +1,7 @@
Installation Instructions
*************************

Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation,
Inc.

Copying and distribution of this file, with or without modification,
@@ -309,9 +309,10 @@ causes the specified `gcc' to be used as the C compiler (unless it is
overridden in the site shell script).

Unfortunately, this technique does not work for `CONFIG_SHELL' due to
an Autoconf bug. Until the bug is fixed you can use this workaround:
an Autoconf limitation. Until the limitation is lifted, you can use
this workaround:

CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash

`configure' Invocation
======================
@@ -367,4 +368,3 @@ operates.

`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.


+ 4
- 4
Makefile.am View File

@@ -95,9 +95,9 @@ gen-ChangeLog:

.PHONY: gen-AUTHORS
gen-AUTHORS:
$(AM_V_GEN)if test -d .git; then \
out="`git log --pretty=format:'%aN <%aE>' | sort -u`" && \
cat $(srcdir)/AUTHORS.in | perl -p -e "s/#authorslist#/$$out/" > \
$(distdir)/AUTHORS-tmp && \
$(AM_V_GEN)if test -d $(srcdir)/.git; then \
out="`cd $(srcdir) && git log --pretty=format:'%aN <%aE>' | sort -u`" && \
perl -p -e "s/#authorslist#// and print '$$out'" \
< $(srcdir)/AUTHORS.in > $(distdir)/AUTHORS-tmp && \
mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS ; \
fi

+ 26
- 10
Makefile.in View File

@@ -65,6 +65,7 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib/m4/00gnulib.m4 \
$(top_srcdir)/gnulib/m4/alloca.m4 \
$(top_srcdir)/gnulib/m4/arpa_inet_h.m4 \
$(top_srcdir)/gnulib/m4/asm-underscore.m4 \
$(top_srcdir)/gnulib/m4/autobuild.m4 \
$(top_srcdir)/gnulib/m4/base64.m4 \
$(top_srcdir)/gnulib/m4/btowc.m4 \
$(top_srcdir)/gnulib/m4/byteswap.m4 \
@@ -128,7 +129,6 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib/m4/00gnulib.m4 \
$(top_srcdir)/gnulib/m4/include_next.m4 \
$(top_srcdir)/gnulib/m4/inet_ntop.m4 \
$(top_srcdir)/gnulib/m4/inet_pton.m4 \
$(top_srcdir)/gnulib/m4/inline.m4 \
$(top_srcdir)/gnulib/m4/intmax_t.m4 \
$(top_srcdir)/gnulib/m4/inttypes.m4 \
$(top_srcdir)/gnulib/m4/ioctl.m4 \
@@ -294,8 +294,21 @@ am__aclocal_m4_deps = $(top_srcdir)/gnulib/m4/00gnulib.m4 \
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
$(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/size_max.m4 \
$(top_srcdir)/m4/stdint_h.m4 \
$(top_srcdir)/m4/stdint_h.m4 $(top_srcdir)/m4/virt-apparmor.m4 \
$(top_srcdir)/m4/virt-attr.m4 $(top_srcdir)/m4/virt-audit.m4 \
$(top_srcdir)/m4/virt-avahi.m4 $(top_srcdir)/m4/virt-blkid.m4 \
$(top_srcdir)/m4/virt-capng.m4 \
$(top_srcdir)/m4/virt-compile-warnings.m4 \
$(top_srcdir)/m4/virt-curl.m4 $(top_srcdir)/m4/virt-dbus.m4 \
$(top_srcdir)/m4/virt-fuse.m4 $(top_srcdir)/m4/virt-hal.m4 \
$(top_srcdir)/m4/virt-lib.m4 $(top_srcdir)/m4/virt-netcf.m4 \
$(top_srcdir)/m4/virt-numactl.m4 \
$(top_srcdir)/m4/virt-openwsman.m4 \
$(top_srcdir)/m4/virt-pciaccess.m4 \
$(top_srcdir)/m4/virt-result.m4 \
$(top_srcdir)/m4/virt-sanlock.m4 $(top_srcdir)/m4/virt-sasl.m4 \
$(top_srcdir)/m4/virt-selinux.m4 $(top_srcdir)/m4/virt-ssh2.m4 \
$(top_srcdir)/m4/virt-udev.m4 $(top_srcdir)/m4/virt-yajl.m4 \
$(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \
$(top_srcdir)/m4/xsize.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
@@ -416,6 +429,8 @@ AR = @AR@
ARFLAGS = @ARFLAGS@
AS = @AS@
ASM_SYMBOL_PREFIX = @ASM_SYMBOL_PREFIX@
ATTR_CFLAGS = @ATTR_CFLAGS@
ATTR_LIBS = @ATTR_LIBS@
AUDIT_CFLAGS = @AUDIT_CFLAGS@
AUDIT_LIBS = @AUDIT_LIBS@
AUGPARSE = @AUGPARSE@
@@ -445,6 +460,8 @@ COVERAGE_CFLAGS = @COVERAGE_CFLAGS@
COVERAGE_LDFLAGS = @COVERAGE_LDFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CURL_CFLAGS = @CURL_CFLAGS@
CURL_LIBS = @CURL_LIBS@
CYGPATH_W = @CYGPATH_W@
CYGWIN_EXTRA_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@
CYGWIN_EXTRA_LIBADD = @CYGWIN_EXTRA_LIBADD@
@@ -1263,8 +1280,6 @@ ISCSIADM = @ISCSIADM@
LD = @LD@
LDEXP_LIBM = @LDEXP_LIBM@
LDFLAGS = @LDFLAGS@
LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
LIBCURL_LIBS = @LIBCURL_LIBS@
LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LIBMULTITHREAD = @LIBMULTITHREAD@
@@ -1282,11 +1297,10 @@ LIBPTH_PREFIX = @LIBPTH_PREFIX@
LIBRBD_LIBS = @LIBRBD_LIBS@
LIBS = @LIBS@
LIBSOCKET = @LIBSOCKET@
LIBSSH2_CFLAGS = @LIBSSH2_CFLAGS@
LIBSSH2_LIBS = @LIBSSH2_LIBS@
LIBTESTS_LIBDEPS = @LIBTESTS_LIBDEPS@
LIBTHREAD = @LIBTHREAD@
LIBTOOL = @LIBTOOL@
LIBVIRT_LXC_SYMBOL_FILE = @LIBVIRT_LXC_SYMBOL_FILE@
LIBVIRT_MAJOR_VERSION = @LIBVIRT_MAJOR_VERSION@
LIBVIRT_MICRO_VERSION = @LIBVIRT_MICRO_VERSION@
LIBVIRT_MINOR_VERSION = @LIBVIRT_MINOR_VERSION@
@@ -1703,6 +1717,8 @@ SHELL = @SHELL@
SHOWMOUNT = @SHOWMOUNT@
SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
SSH2_CFLAGS = @SSH2_CFLAGS@
SSH2_LIBS = @SSH2_LIBS@
STATIC_BINARIES = @STATIC_BINARIES@
STDALIGN_H = @STDALIGN_H@
STDARG_H = @STDARG_H@
@@ -2438,10 +2454,10 @@ gen-ChangeLog:

.PHONY: gen-AUTHORS
gen-AUTHORS:
$(AM_V_GEN)if test -d .git; then \
out="`git log --pretty=format:'%aN <%aE>' | sort -u`" && \
cat $(srcdir)/AUTHORS.in | perl -p -e "s/#authorslist#/$$out/" > \
$(distdir)/AUTHORS-tmp && \
$(AM_V_GEN)if test -d $(srcdir)/.git; then \
out="`cd $(srcdir) && git log --pretty=format:'%aN <%aE>' | sort -u`" && \
perl -p -e "s/#authorslist#// and print '$$out'" \
< $(srcdir)/AUTHORS.in > $(distdir)/AUTHORS-tmp && \
mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS ; \
fi



+ 10522
- 0
NEWS
File diff suppressed because it is too large
View File


+ 23
- 1
aclocal.m4 View File

@@ -1485,6 +1485,7 @@ m4_include([gnulib/m4/00gnulib.m4])
m4_include([gnulib/m4/alloca.m4])
m4_include([gnulib/m4/arpa_inet_h.m4])
m4_include([gnulib/m4/asm-underscore.m4])
m4_include([gnulib/m4/autobuild.m4])
m4_include([gnulib/m4/base64.m4])
m4_include([gnulib/m4/btowc.m4])
m4_include([gnulib/m4/byteswap.m4])
@@ -1550,7 +1551,6 @@ m4_include([gnulib/m4/hostent.m4])
m4_include([gnulib/m4/include_next.m4])
m4_include([gnulib/m4/inet_ntop.m4])
m4_include([gnulib/m4/inet_pton.m4])
m4_include([gnulib/m4/inline.m4])
m4_include([gnulib/m4/intmax_t.m4])
m4_include([gnulib/m4/inttypes.m4])
m4_include([gnulib/m4/ioctl.m4])
@@ -1728,7 +1728,29 @@ m4_include([m4/po.m4])
m4_include([m4/progtest.m4])
m4_include([m4/size_max.m4])
m4_include([m4/stdint_h.m4])
m4_include([m4/virt-apparmor.m4])
m4_include([m4/virt-attr.m4])
m4_include([m4/virt-audit.m4])
m4_include([m4/virt-avahi.m4])
m4_include([m4/virt-blkid.m4])
m4_include([m4/virt-capng.m4])
m4_include([m4/virt-compile-warnings.m4])
m4_include([m4/virt-curl.m4])
m4_include([m4/virt-dbus.m4])
m4_include([m4/virt-fuse.m4])
m4_include([m4/virt-hal.m4])
m4_include([m4/virt-lib.m4])
m4_include([m4/virt-netcf.m4])
m4_include([m4/virt-numactl.m4])
m4_include([m4/virt-openwsman.m4])
m4_include([m4/virt-pciaccess.m4])
m4_include([m4/virt-result.m4])
m4_include([m4/virt-sanlock.m4])
m4_include([m4/virt-sasl.m4])
m4_include([m4/virt-selinux.m4])
m4_include([m4/virt-ssh2.m4])
m4_include([m4/virt-udev.m4])
m4_include([m4/virt-yajl.m4])
m4_include([m4/wchar_t.m4])
m4_include([m4/wint_t.m4])
m4_include([m4/xsize.m4])

+ 24
- 19
build-aux/config.guess View File

@@ -2,13 +2,13 @@
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
# 2011, 2012, 2013 Free Software Foundation, Inc.

timestamp='2012-02-10'
timestamp='2012-12-30'

# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
@@ -22,19 +22,17 @@ timestamp='2012-02-10'
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.


# Originally written by Per Bothner. Please send patches (context
# diff format) to <config-patches@gnu.org> and include a ChangeLog
# entry.
# the same distribution terms that you use for the rest of that
# program. This Exception is an additional permission under section 7
# of the GNU General Public License, version 3 ("GPLv3").
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
# Originally written by Per Bothner.
#
# You can get the latest version of this script from:
# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
#
# Please send patches with a ChangeLog entry to config-patches@gnu.org.


me=`echo "$0" | sed -e 's,.*/,,'`

@@ -55,8 +53,8 @@ GNU config.guess ($timestamp)

Originally written by Per Bothner.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
Free Software Foundation, Inc.
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
2012, 2013 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -200,6 +198,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
echo "${machine}-${os}${release}"
exit ;;
*:Bitrig:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
exit ;;
*:OpenBSD:*:*)
UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
@@ -302,7 +304,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}
exit ;;
arm:riscos:*:*|arm:RISCOS:*:*)
arm*:riscos:*:*|arm*:RISCOS:*:*)
echo arm-unknown-riscos
exit ;;
SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
@@ -801,6 +803,9 @@ EOF
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin
exit ;;
*:MINGW64*:*)
echo ${UNAME_MACHINE}-pc-mingw64
exit ;;
*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit ;;
@@ -1201,6 +1206,9 @@ EOF
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
echo i586-pc-haiku
exit ;;
x86_64:Haiku:*:*)
echo x86_64-unknown-haiku
exit ;;
SX-4:SUPER-UX:*:*)
echo sx4-nec-superux${UNAME_RELEASE}
exit ;;
@@ -1256,7 +1264,7 @@ EOF
NEO-?:NONSTOP_KERNEL:*:*)
echo neo-tandem-nsk${UNAME_RELEASE}
exit ;;
NSE-?:NONSTOP_KERNEL:*:*)
NSE-*:NONSTOP_KERNEL:*:*)
echo nse-tandem-nsk${UNAME_RELEASE}
exit ;;
NSR-?:NONSTOP_KERNEL:*:*)
@@ -1330,9 +1338,6 @@ EOF
exit ;;
esac

#echo '(No uname command or uname output not recognized.)' 1>&2
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2

eval $set_cc_for_build
cat >$dummy.c <<EOF
#ifdef _SEQUENT_


+ 81
- 57
build-aux/config.rpath View File

@@ -2,7 +2,7 @@
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2007 Free Software Foundation, Inc.
# Copyright 1996-2013 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
@@ -25,7 +25,7 @@
# known workaround is to choose shorter directory names for the build
# directory and/or the installation directory.

# All known linkers require a `.a' archive for static linking (except MSVC,
# All known linkers require a '.a' archive for static linking (except MSVC,
# which needs '.lib').
libext=a
shrext=.so
@@ -47,7 +47,7 @@ for cc_temp in $CC""; do
done
cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`

# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC.
# Code taken from libtool.m4's _LT_COMPILER_PIC.

wl=
if test "$GCC" = yes; then
@@ -57,14 +57,7 @@ else
aix*)
wl='-Wl,'
;;
darwin*)
case $cc_basename in
xlc*)
wl='-Wl,'
;;
esac
;;
mingw* | cygwin* | pw32* | os2*)
mingw* | cygwin* | pw32* | os2* | cegcc*)
;;
hpux9* | hpux10* | hpux11*)
wl='-Wl,'
@@ -72,24 +65,37 @@ else
irix5* | irix6* | nonstopux*)
wl='-Wl,'
;;
newsos6)
;;
linux* | k*bsd*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu)
case $cc_basename in
icc* | ecc*)
ecc*)
wl='-Wl,'
;;
pgcc | pgf77 | pgf90)
icc* | ifort*)
wl='-Wl,'
;;
lf95*)
wl='-Wl,'
;;
nagfor*)
wl='-Wl,-Wl,,'
;;
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
wl='-Wl,'
;;
ccc*)
wl='-Wl,'
;;
xl* | bgxl* | bgf* | mpixl*)
wl='-Wl,'
;;
como)
wl='-lopt='
;;
*)
case `$CC -V 2>&1 | sed 5q` in
*Sun\ F* | *Sun*Fortran*)
wl=
;;
*Sun\ C*)
wl='-Wl,'
;;
@@ -97,13 +103,24 @@ else
;;
esac
;;
newsos6)
;;
*nto* | *qnx*)
;;
osf3* | osf4* | osf5*)
wl='-Wl,'
;;
rdos*)
;;
solaris*)
wl='-Wl,'
case $cc_basename in
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
wl='-Qoption ld '
;;
*)
wl='-Wl,'
;;
esac
;;
sunos4*)
wl='-Qoption ld '
@@ -124,7 +141,7 @@ else
esac
fi

# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS.
# Code taken from libtool.m4's _LT_LINKER_SHLIBS.

hardcode_libdir_flag_spec=
hardcode_libdir_separator=
@@ -132,7 +149,7 @@ hardcode_direct=no
hardcode_minus_L=no

case "$host_os" in
cygwin* | mingw* | pw32*)
cygwin* | mingw* | pw32* | cegcc*)
# FIXME: the MSVC++ port hasn't been tested in a loooong time
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
@@ -158,22 +175,21 @@ if test "$with_gnu_ld" = yes; then
# option of GNU ld is called -rpath, not --rpath.
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
case "$host_os" in
aix3* | aix4* | aix5*)
aix[3-9]*)
# On AIX/PPC, the GNU linker is very broken
if test "$host_cpu" != ia64; then
ld_shlibs=no
fi
;;
amigaos*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
# that the semantics of dynamic libraries on AmigaOS, at least up
# to version 4, is to share data among multiple programs linked
# with the same dynamic library. Since this doesn't match the
# behavior of shared libraries on other platforms, we cannot use
# them.
ld_shlibs=no
case "$host_cpu" in
powerpc)
;;
m68k)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
;;
esac
;;
beos*)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
@@ -182,7 +198,7 @@ if test "$with_gnu_ld" = yes; then
ld_shlibs=no
fi
;;
cygwin* | mingw* | pw32*)
cygwin* | mingw* | pw32* | cegcc*)
# hardcode_libdir_flag_spec is actually meaningless, as there is
# no search path for DLLs.
hardcode_libdir_flag_spec='-L$libdir'
@@ -192,11 +208,13 @@ if test "$with_gnu_ld" = yes; then
ld_shlibs=no
fi
;;
haiku*)
;;
interix[3-9]*)
hardcode_direct=no
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
;;
gnu* | linux* | k*bsd*-gnu)
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
:
else
@@ -254,7 +272,7 @@ else
hardcode_direct=unsupported
fi
;;
aix4* | aix5*)
aix[4-9]*)
if test "$host_cpu" = ia64; then
# On IA64, the linker does run time linking by default, so we don't
# have to do anything special.
@@ -264,7 +282,7 @@ else
# Test if we are trying to use run time linking or normal
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
# need to do runtime linking.
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
for ld_flag in $LDFLAGS; do
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
aix_use_runtimelinking=yes
@@ -319,14 +337,18 @@ else
fi
;;
amigaos*)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
# see comment about different semantics on the GNU ld section
ld_shlibs=no
case "$host_cpu" in
powerpc)
;;
m68k)
hardcode_libdir_flag_spec='-L$libdir'
hardcode_minus_L=yes
;;
esac
;;
bsdi[45]*)
;;
cygwin* | mingw* | pw32*)
cygwin* | mingw* | pw32* | cegcc*)
# When not using gcc, we currently assume that we are using
# Microsoft Visual C++.
# hardcode_libdir_flag_spec is actually meaningless, as there is
@@ -336,24 +358,15 @@ else
;;
darwin* | rhapsody*)
hardcode_direct=no
if test "$GCC" = yes ; then
if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then
:
else
case $cc_basename in
xlc*)
;;
*)
ld_shlibs=no
;;
esac
ld_shlibs=no
fi
;;
dgux*)
hardcode_libdir_flag_spec='-L$libdir'
;;
freebsd1*)
ld_shlibs=no
;;
freebsd2.2*)
hardcode_libdir_flag_spec='-R$libdir'
hardcode_direct=yes
@@ -414,6 +427,8 @@ else
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
*nto* | *qnx*)
;;
openbsd*)
if test -f /usr/libexec/ld.so; then
hardcode_direct=yes
@@ -494,7 +509,7 @@ else
fi

# Check dynamic linker characteristics
# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER.
# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
# only about the one the linker finds when passed -lNAME. This is the last
# element of library_names_spec in libtool.m4, or possibly two of them if the
@@ -505,11 +520,16 @@ case "$host_os" in
aix3*)
library_names_spec='$libname.a'
;;
aix4* | aix5*)
aix[4-9]*)
library_names_spec='$libname$shrext'
;;
amigaos*)
library_names_spec='$libname.a'
case "$host_cpu" in
powerpc*)
library_names_spec='$libname$shrext' ;;
m68k)
library_names_spec='$libname.a' ;;
esac
;;
beos*)
library_names_spec='$libname$shrext'
@@ -517,7 +537,7 @@ case "$host_os" in
bsdi[45]*)
library_names_spec='$libname$shrext'
;;
cygwin* | mingw* | pw32*)
cygwin* | mingw* | pw32* | cegcc*)
shrext=.dll
library_names_spec='$libname.dll.a $libname.lib'
;;
@@ -528,8 +548,6 @@ case "$host_os" in
dgux*)
library_names_spec='$libname$shrext'
;;
freebsd1*)
;;
freebsd* | dragonfly*)
case "$host_os" in
freebsd[123]*)
@@ -541,6 +559,9 @@ case "$host_os" in
gnu*)
library_names_spec='$libname$shrext'
;;
haiku*)
library_names_spec='$libname$shrext'
;;
hpux9* | hpux10* | hpux11*)
case $host_cpu in
ia64*)
@@ -576,7 +597,7 @@ case "$host_os" in
;;
linux*oldld* | linux*aout* | linux*coff*)
;;
linux* | k*bsd*-gnu)
linux* | k*bsd*-gnu | kopensolaris*-gnu)
library_names_spec='$libname$shrext'
;;
knetbsd*-gnu)
@@ -588,7 +609,7 @@ case "$host_os" in
newsos6)
library_names_spec='$libname$shrext'
;;
nto-qnx*)
*nto* | *qnx*)
library_names_spec='$libname$shrext'
;;
openbsd*)
@@ -619,6 +640,9 @@ case "$host_os" in
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
library_names_spec='$libname$shrext'
;;
tpf*)
library_names_spec='$libname$shrext'
;;
uts4*)
library_names_spec='$libname$shrext'
;;


+ 46
- 32
build-aux/config.sub View File

@@ -2,23 +2,19 @@
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
# 2011, 2012, 2013 Free Software Foundation, Inc.

timestamp='2012-02-10'
timestamp='2012-12-31'

# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
# can handle that machine. It does not imply ALL GNU software can.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, see <http://www.gnu.org/licenses/>.
@@ -26,11 +22,12 @@ timestamp='2012-02-10'
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# the same distribution terms that you use for the rest of that
# program. This Exception is an additional permission under section 7
# of the GNU General Public License, version 3 ("GPLv3").


# Please send patches to <config-patches@gnu.org>. Submit a context
# diff and a properly formatted GNU ChangeLog entry.
# Please send patches with a ChangeLog entry to config-patches@gnu.org.
#
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
@@ -74,8 +71,8 @@ version="\
GNU config.sub ($timestamp)

Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
Free Software Foundation, Inc.
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
2012, 2013 Free Software Foundation, Inc.

This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -123,7 +120,7 @@ esac
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
knetbsd*-gnu* | netbsd*-gnu* | \
kopensolaris*-gnu* | \
storm-chaos* | os2-emx* | rtmk-nova*)
@@ -156,7 +153,7 @@ case $os in
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-apple | -axis | -knuth | -cray | -microblaze)
-apple | -axis | -knuth | -cray | -microblaze*)
os=
basic_machine=$1
;;
@@ -225,6 +222,12 @@ case $os in
-isc*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-lynx*178)
os=-lynxos178
;;
-lynx*5)
os=-lynxos5
;;
-lynx*)
os=-lynxos
;;
@@ -253,8 +256,10 @@ case $basic_machine in
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| am33_2.0 \
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
| be32 | be64 \
| arc \
| arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
| avr | avr32 \
| be32 | be64 \
| bfin \
| c4x | clipper \
| d10v | d30v | dlx | dsp16xx \
@@ -267,7 +272,7 @@ case $basic_machine in
| le32 | le64 \
| lm32 \
| m32c | m32r | m32rle | m68000 | m68k | m88k \
| maxq | mb | microblaze | mcore | mep | metag \
| maxq | mb | microblaze | microblazeel | mcore | mep | metag \
| mips | mipsbe | mipseb | mipsel | mipsle \
| mips16 \
| mips64 | mips64el \
@@ -383,7 +388,8 @@ case $basic_machine in
| lm32-* \
| m32c-* | m32r-* | m32rle-* \
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
| m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
| microblaze-* | microblazeel-* \
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
| mips16-* \
| mips64-* | mips64el-* \
@@ -782,9 +788,13 @@ case $basic_machine in
basic_machine=ns32k-utek
os=-sysv
;;
microblaze)
microblaze*)
basic_machine=microblaze-xilinx
;;
mingw64)
basic_machine=x86_64-pc
os=-mingw64
;;
mingw32)
basic_machine=i386-pc
os=-mingw32
@@ -1013,7 +1023,11 @@ case $basic_machine in
basic_machine=i586-unknown
os=-pw32
;;
rdos)
rdos | rdos64)
basic_machine=x86_64-pc
os=-rdos
;;
rdos32)
basic_machine=i386-pc
os=-rdos
;;
@@ -1346,15 +1360,15 @@ case $os in
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
| -openbsd* | -solidbsd* \
| -bitrig* | -openbsd* | -solidbsd* \
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -chorusos* | -chorusrdb* | -cegcc* \
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -linux-android* \
| -linux-newlib* | -linux-uclibc* \
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
| -linux-newlib* | -linux-musl* | -linux-uclibc* \
| -uxpv* | -beos* | -mpeix* | -udk* \
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
@@ -1486,9 +1500,6 @@ case $os in
-aros*)
os=-aros
;;
-kaos*)
os=-kaos
;;
-zvmoe)
os=-zvmoe
;;
@@ -1537,6 +1548,9 @@ case $basic_machine in
c4x-* | tic4x-*)
os=-coff
;;
hexagon-*)
os=-elf
;;
tic54x-*)
os=-coff
;;


+ 262
- 215
build-aux/depcomp View File

@@ -1,10 +1,9 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects

scriptversion=2012-03-27.16; # UTC
scriptversion=2012-10-18.11; # UTC

# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
# Copyright (C) 1999-2013 Free Software Foundation, Inc.

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -28,9 +27,9 @@ scriptversion=2012-03-27.16; # UTC

case $1 in
'')
echo "$0: No command. Try '$0 --help' for more information." 1>&2
exit 1;
;;
echo "$0: No command. Try '$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
@@ -57,11 +56,65 @@ EOF
;;
esac

# Get the directory component of the given path, and save it in the
# global variables '$dir'. Note that this directory component will
# be either empty or ending with a '/' character. This is deliberate.
set_dir_from ()
{
case $1 in
*/*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
*) dir=;;
esac
}

# Get the suffix-stripped basename of the given path, and save it the
# global variable '$base'.
set_base_from ()
{
base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
}

# If no dependency file was actually created by the compiler invocation,
# we still have to create a dummy depfile, to avoid errors with the
# Makefile "include basename.Plo" scheme.
make_dummy_depfile ()
{
echo "#dummy" > "$depfile"
}

# Factor out some common post-processing of the generated depfile.
# Requires the auxiliary global variable '$tmpdepfile' to be set.
aix_post_process_depfile ()
{
# If the compiler actually managed to produce a dependency file,
# post-process it.
if test -f "$tmpdepfile"; then
# Each line is of the form 'foo.o: dependency.h'.
# Do two passes, one to just change these to
# $object: dependency.h
# and one to simply output
# dependency.h:
# which is needed to avoid the deleted-header problem.
{ sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
} > "$depfile"
rm -f "$tmpdepfile"
else
make_dummy_depfile
fi
}

# A tabulation character.
tab=' '
# A newline character.
nl='
'
# Character ranges might be problematic outside the C locale.
# These definitions help.
upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ
lower=abcdefghijklmnopqrstuvwxyz
digits=0123456789
alpha=${upper}${lower}

if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
@@ -75,6 +128,9 @@ tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}

rm -f "$tmpdepfile"

# Avoid interferences from the environment.
gccflag= dashmflag=

# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case
@@ -86,32 +142,32 @@ if test "$depmode" = hp; then
fi

if test "$depmode" = dashXmstdout; then
# This is just like dashmstdout with a different argument.
dashmflag=-xM
depmode=dashmstdout
# This is just like dashmstdout with a different argument.
dashmflag=-xM
depmode=dashmstdout
fi

cygpath_u="cygpath -u -f -"
if test "$depmode" = msvcmsys; then
# This is just like msvisualcpp but w/o cygpath translation.
# Just convert the backslash-escaped backslashes to single forward
# slashes to satisfy depend.m4
cygpath_u='sed s,\\\\,/,g'
depmode=msvisualcpp
# This is just like msvisualcpp but w/o cygpath translation.
# Just convert the backslash-escaped backslashes to single forward
# slashes to satisfy depend.m4
cygpath_u='sed s,\\\\,/,g'
depmode=msvisualcpp
fi

if test "$depmode" = msvc7msys; then
# This is just like msvc7 but w/o cygpath translation.
# Just convert the backslash-escaped backslashes to single forward
# slashes to satisfy depend.m4
cygpath_u='sed s,\\\\,/,g'
depmode=msvc7
# This is just like msvc7 but w/o cygpath translation.
# Just convert the backslash-escaped backslashes to single forward
# slashes to satisfy depend.m4
cygpath_u='sed s,\\\\,/,g'
depmode=msvc7
fi

if test "$depmode" = xlc; then
# IBM C/C++ Compilers xlc/xlC can output gcc-like dependency informations.
gccflag=-qmakedep=gcc,-MF
depmode=gcc
# IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information.
gccflag=-qmakedep=gcc,-MF
depmode=gcc
fi

case "$depmode" in
@@ -134,8 +190,7 @@ gcc3)
done
"$@"
stat=$?
if test $stat -eq 0; then :
else
if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
@@ -143,13 +198,17 @@ gcc3)
;;

gcc)
## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
## (see the conditional assignment to $gccflag above).
## There are various ways to get dependency output from gcc. Here's
## why we pick this rather obscure method:
## - Don't want to use -MD because we'd like the dependencies to end
## up in a subdir. Having to rename by hand is ugly.
## (We might end up doing this anyway to support other compilers.)
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
## -MM, not -M (despite what the docs say).
## -MM, not -M (despite what the docs say). Also, it might not be
## supported by the other compilers which use the 'gcc' depmode.
## - Using -M directly means running the compiler twice (even worse
## than renaming).
if test -z "$gccflag"; then
@@ -157,15 +216,14 @@ gcc)
fi
"$@" -Wp,"$gccflag$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
## The second -e expression handles DOS-style file names with drive letters.
# The second -e expression handles DOS-style file names with drive
# letters.
sed -e 's/^[^:]*: / /' \
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
## This next piece of magic avoids the "deleted header file" problem.
@@ -174,15 +232,15 @@ gcc)
## typically no way to rebuild the header). We avoid this by adding
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
tr ' ' "$nl" < "$tmpdepfile" |
## Some versions of gcc put a space before the ':'. On the theory
## that the space means something, we add a space to the output as
## well. hp depmode also adds that space, but also prefixes the VPATH
## to the object. Take care to not repeat it in the output.
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
| sed -e 's/$/ :/' >> "$depfile"
tr ' ' "$nl" < "$tmpdepfile" \
| sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
| sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;

@@ -193,47 +251,6 @@ hp)
exit 1
;;

sgi)
if test "$libtool" = yes; then
"$@" "-Wp,-MDupdate,$tmpdepfile"
else
"$@" -MDupdate "$tmpdepfile"
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"

if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
echo "$object : \\" > "$depfile"

# Clip off the initial element (the dependent). Don't try to be
# clever and replace this with sed code, as IRIX sed won't handle
# lines with more than a fixed number of characters (4096 in
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
# the IRIX cc adds comments like '#:fec' to the end of the
# dependency line.
tr ' ' "$nl" < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
tr "$nl" ' ' >> "$depfile"
echo >> "$depfile"

# The second pass generates a dummy entry for each header file.
tr ' ' "$nl" < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
>> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;

xlc)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
@@ -247,9 +264,8 @@ aix)
# current directory. Also, the AIX compiler puts '$object:' at the
# start of each line; $object doesn't have directory information.
# Version 6 uses the directory in both cases.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
set_dir_from "$object"
set_base_from "$object"
if test "$libtool" = yes; then
tmpdepfile1=$dir$base.u
tmpdepfile2=$base.u
@@ -262,9 +278,7 @@ aix)
"$@" -M
fi
stat=$?

if test $stat -eq 0; then :
else
if test $stat -ne 0; then
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
exit $stat
fi
@@ -273,65 +287,113 @@ aix)
do
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
# Each line is of the form 'foo.o: dependent.h'.
# Do two passes, one to just change these to
# '$object: dependent.h' and one to simply 'dependent.h:'.
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
aix_post_process_depfile
;;

tcc)
# tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26
# FIXME: That version still under development at the moment of writing.
# Make that this statement remains true also for stable, released
# versions.
# It will wrap lines (doesn't matter whether long or short) with a
# trailing '\', as in:
#
# foo.o : \
# foo.c \
# foo.h \
#
# It will put a trailing '\' even on the last line, and will use leading
# spaces rather than leading tabs (at least since its commit 0394caf7
# "Emit spaces for -MD").
"$@" -MD -MF "$tmpdepfile"
stat=$?
if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
# Each non-empty line is of the form 'foo.o : \' or ' dep.h \'.
# We have to change lines of the first kind to '$object: \'.
sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
# And for each line of the second kind, we have to emit a 'dep.h:'
# dummy dependency, to avoid the deleted-header problem.
sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
rm -f "$tmpdepfile"
;;

icc)
# Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'.
# However on
# $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c
# ICC 7.0 will fill foo.d with something like
# foo.o: sub/foo.c
# foo.o: sub/foo.h
# which is wrong. We want
# sub/foo.o: sub/foo.c
# sub/foo.o: sub/foo.h
# sub/foo.c:
# sub/foo.h:
# ICC 7.1 will output
## The order of this option in the case statement is important, since the
## shell code in configure will try each of these formats in the order
## listed in this file. A plain '-MD' option would be understood by many
## compilers, so we must ensure this comes after the gcc and icc options.
pgcc)
# Portland's C compiler understands '-MD'.
# Will always output deps to 'file.d' where file is the root name of the
# source file under compilation, even if file resides in a subdirectory.
# The object file name does not affect the name of the '.d' file.
# pgcc 10.2 will output
# foo.o: sub/foo.c sub/foo.h
# and will wrap long lines using '\':
# and will wrap long lines using '\' :
# foo.o: sub/foo.c ... \
# sub/foo.h ... \
# ...
# tcc 0.9.26 (FIXME still under development at the moment of writing)
# will emit a similar output, but also prepend the continuation lines
# with horizontal tabulation characters.
"$@" -MD -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
set_dir_from "$object"
# Use the source, not the object, to determine the base name, since
# that's sadly what pgcc will do too.
set_base_from "$source"
tmpdepfile=$base.d

# For projects that build the same source file twice into different object
# files, the pgcc approach of using the *source* file root name can cause
# problems in parallel builds. Use a locking strategy to avoid stomping on
# the same $tmpdepfile.
lockdir=$base.d-lock
trap "
echo '$0: caught signal, cleaning up...' >&2
rmdir '$lockdir'
exit 1
" 1 2 13 15
numtries=100
i=$numtries
while test $i -gt 0; do
# mkdir is a portable test-and-set.
if mkdir "$lockdir" 2>/dev/null; then
# This process acquired the lock.
"$@" -MD
stat=$?
# Release the lock.
rmdir "$lockdir"
break
else
# If the lock is being held by a different process, wait
# until the winning process is done or we timeout.
while test -d "$lockdir" && test $i -gt 0; do
sleep 1
i=`expr $i - 1`
done
fi
i=`expr $i - 1`
done
trap - 1 2 13 15
if test $i -le 0; then
echo "$0: failed to acquire lock after $numtries attempts" >&2
echo "$0: check lockdir '$lockdir'" >&2
exit 1
fi

if test $stat -ne 0; then
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
# Each line is of the form 'foo.o: dependent.h',
# or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'.
# Each line is of the form `foo.o: dependent.h',
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
# Do two passes, one to just change these to
# '$object: dependent.h' and one to simply 'dependent.h:'.
sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \
< "$tmpdepfile" > "$depfile"
sed '
s/[ '"$tab"'][ '"$tab"']*/ /g
s/^ *//
s/ *\\*$//
s/^[^:]*: *//
/^$/d
/:$/d
s/$/ :/
' < "$tmpdepfile" >> "$depfile"
# `$object: dependent.h' and one to simply `dependent.h:'.
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
# Some versions of the HPUX 10.20 sed can't process this invocation
# correctly. Breaking it into two sed invocations is a workaround.
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
| sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;

@@ -342,9 +404,8 @@ hp2)
# 'foo.d', which lands next to the object file, wherever that
# happens to be.
# Much of this is similar to the tru64 case; see comments there.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
set_dir_from "$object"
set_base_from "$object"
if test "$libtool" = yes; then
tmpdepfile1=$dir$base.d
tmpdepfile2=$dir.libs/$base.d
@@ -355,8 +416,7 @@ hp2)
"$@" +Maked
fi
stat=$?
if test $stat -eq 0; then :
else
if test $stat -ne 0; then
rm -f "$tmpdepfile1" "$tmpdepfile2"
exit $stat
fi
@@ -366,76 +426,61 @@ hp2)
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
# Add 'dependent.h:' lines.
sed -ne '2,${
s/^ *//
s/ \\*$//
s/$/:/
p
}' "$tmpdepfile" >> "$depfile"
s/^ *//
s/ \\*$//
s/$/:/
p
}' "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
make_dummy_depfile
fi
rm -f "$tmpdepfile" "$tmpdepfile2"
;;

tru64)
# The Tru64 compiler uses -MD to generate dependencies as a side
# effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'.
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
# dependencies in 'foo.d' instead, so we check for that too.
# Subdirectories are respected.