python: Build extension with PEP-3149 compliant suffix if defined.
(cherry picked from commit b7cd34eb776a6429e2de536c53390f791dbc8470)
(cherry picked from commit dbbedf652f571dcce372c1cb13f8c6c60a6742cb)
ocamldoc: Depend directly on guestfs.mli, guestfs.ml files, not wildcards.
(cherry picked from commit edf9d3c7f0d70488ef0ad6a87e7966d774b9b190)
(cherry picked from commit 9355f15c834326df3358e3806c53ee1bafaf9224)
Quote ./configure --help output (options) properly.
(cherry picked from commit 94dbcb107f5a5d8658e76add344cf697a938783c)
(cherry picked from commit 92cf5123353fb24d9df51a17c67a5e8c0cb622b5)
build: Add common-rules.mk, common rules for all Makefiles.

This file is mainly a central place to:

 - include localenv if it exists, and

 - define the RHEL 5 backwards compatibility macros, instead of
   spreading them over every other file.

(cherry picked from commit 49bdaabc7d011e7fb55e457d6fb865c175d1c757)
(cherry picked from commit 7bc67024f0200abf3f267ae582aab5186f4f1b70)
ocaml: Build dependencies for tests too.
(cherry picked from commit 012a4a5eb5c985e5ce22f3e6991da5369aeaed82)
(cherry picked from commit 314ed600ccfc672bf2d3d909167e914aeaeeaa7b)
inspection: Refactor windows systemroot detection to allow re-use

This change refactors guestfs___has_windows_systemroot to
guestfs___get_windows_systemroot. The new function returns a
dynamically allocated char * which must be freed.

The new function is no less efficient than before, as it returns the
result of guestfs___case_sensitive_path_silently, which is required
anyway. The new code is slightly more efficient than before, as it
re-uses the result of this testing in guestfs___check_windows_root
rather than running it again.
(cherry picked from commit f1385192ad607190b01ccbdb0805eede8a787436)
(cherry picked from commit 3057e7a829f64d9b434e9c9953f6504843ef7b2c)
inspect: Add internal match6 function
(cherry picked from commit 83b7d0a66e99fb970a0929123f6fc0e810869677)
(cherry picked from commit 48b983ee67b57b03743b02bcc76b792671efd091)
inspect: Partial support for non-standard windows system root

Support arbitrary windows system root for pre-vista systems where
boot.ini is on the same partition as the system root.
(cherry picked from commit 5abb196de869cd27a6fa2377d79b9a267120f48e)
(cherry picked from commit 2998752a8e8080122ebae4a36f0ada458487821b)
inspection: Reformat is_systemroot declaration.

Just code motion.
(cherry picked from commit 95850772021d35911b3597159ff50c11043da686)
(cherry picked from commit f82ff7d749ff96c6b9d54694010e527e0a57ce19)
inspect: Fix bogus warning for partitions without /boot.ini

Fix a bogus warning introduced by
5abb196de869cd27a6fa2377d79b9a267120f48e. If a non-windows partition
hasn't been detected as something else and falls through to windows
detection, inspection would display a bogus warning about missing
/boot.ini.

RWMJ: Test if guestfs_is_file > 0, in case it returns an error.
(cherry picked from commit 21f427801c88656ff85467b1bf0acf7c567a59e2)
(cherry picked from commit 7a5cb7473855a8f5485967476cac3b099b5d9fcd)
txz-out: Fix this API to produce xz files again (RHBZ#972775).

Commit 864ef706a84c7c87a62f776d4b2e82a6f959ae14 (in Aug 2012) broke
the deprecated txz-out API.  Because of a thinko during this commit,
instead of producing xz files it produces bzip2 files.

Fix this API again.

Thanks: Bo Fan / Red Hat QA team.
(cherry picked from commit 546b3f3fce38874239161484b74aa90560a399dc)
(cherry picked from commit 62d542c76cfc535dd03176f30f02e175e3603b51)
FAQ: Add link to RHEL 6.5 preview repository.
(cherry picked from commit 58519bbe9c456f04bf3cdb261a75351aa94461e5)
(cherry picked from commit 21fdf4f81b53c0694747da4c4ae5318d78281a3b)
FAQ: RHEL 7 is based on libguestfs 1.22.
(cherry picked from commit 3b109ff20710a1cd2805e7bcc1d20c2713f89ab4)
(cherry picked from commit 77421360419d0b60c71a259848d0103bdff4727b)
FAQ: Indent Ubuntu releases in list.
(cherry picked from commit 32fe7fd8536a452639a8304e77dde5305d79b209)
(cherry picked from commit 64c61d538f9f53cc6d4744ede259dcf907258a37)
FAQ: RHEL 6.5 will fix the buildnet problem.
(cherry picked from commit 0e652c11bec667544f77b1a033f23c3abf0c0022)
(cherry picked from commit 58d4b2c11703c3ba11076a7163166a17dcdc9777)
FAQ: Put B<> bold section around "Note"s in the text.
(cherry picked from commit d2c05c96cabf63d1c5bf4eaf8452c33180b88e95)
(cherry picked from commit d29ee48154b290d70762bc247acf30d7e5273a31)
FAQ: Emphasize that we don't accept github pull requests.
(cherry picked from commit 372217c375aea4d1878f55bca36e29c53529435c)
(cherry picked from commit 9902b47b1cbcd65e1a88429f1ecc5df2182fce4b)
FAQ: Developer questions about committing and forking.
(cherry picked from commit 3cf442872b963e4e60367d728237569113f7c249)
(cherry picked from commit bddcf0f4982f6ef0387904c7892c85fa7521a813)
Version 1.20.9.