Skip to content

Commit

Permalink
add pld linux support
Browse files Browse the repository at this point in the history
Signed-off-by: Elan Ruusamäe <[email protected]>
  • Loading branch information
glensc committed Aug 25, 2016
1 parent 23575ad commit 00d7fdd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ if test "z$with_distro" = "z"; then
AC_CHECK_FILE(/etc/mandrakelinux-release, with_distro="openmandriva")
AC_CHECK_FILE(/etc/mandriva-release,with_distro="openmandriva")
AC_CHECK_FILE(/etc/pardus-release,with_distro="pardus")
AC_CHECK_FILE(/etc/pld-release,with_distro="pld")
fi
with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]'`

Expand All @@ -76,7 +77,7 @@ case $with_distro in
ubuntu)
distroconf=default.conf.ubuntu
;;
redhat|centos|fedora|oracle|oracleserver)
redhat|centos|fedora|oracle|oracleserver|pld)
distroconf=default.conf.libvirt
;;
*)
Expand Down Expand Up @@ -108,6 +109,9 @@ case "$with_init_script" in
ubuntu)
init_script=upstart,systemd,sysvinit
;;
pld)
init_script=systemd,sysvinit
;;
slackware)
echo -n "Warning: bsd init job not yet implemented"
init_script=
Expand Down

0 comments on commit 00d7fdd

Please sign in to comment.