On Mon, May 02, 2016 at 01:51:24PM +0200, Andrea Bolognani wrote:
>
> Changes from [v1]:
>
> * look for systemctl(1) to detect systemd instead of relying
> on whether or not the /etc/systemd directory is present,
> as suggested by Martin
>
> * use 'systemd+redhat' instead of plain 'systemd' on RHEL
>
> * move everything to a macro tucked away in a separate file
>
> Tested on Debian sid, Fedora rawhide, FreeBSD 10.3 and CentOS 6.
>
>
> [v1]
https://www.redhat.com/archives/libvir-list/2016-April/msg01930.html
>
> Andrea Bolognani (3):
> configure: Improve --with-init-script=check
> configure: Add systemd detection to --with-init-script=check
> configure: Introduce LIBVIRT_{CHECK,RESULT}_INIT_SCRIPT
>
> configure.ac | 48 ++---------------------------
> m4/virt-init-script.m4 | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 86 insertions(+), 46 deletions(-)
> create mode 100644 m4/virt-init-script.m4
ACK series
Pushed, thanks for your review(s) :)
--
Andrea Bolognani
Software Engineer - Virtualization Team