]> git.proxmox.com Git - mirror_lxcfs.git/blobdiff - configure.ac
Merge pull request #183 from brauner/2017-05-17/add_unified_mount
[mirror_lxcfs.git] / configure.ac
index b9a031e58d1b1b4019127bbc68db10a436783173..6c5c8be37d67448da3d6c25a18402b3b60a42d00 100644 (file)
@@ -1,7 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.61)
-AC_INIT([lxcfs], [2.0.0.rc5], [lxc-devel@lists.linuxcontainers.org])
+AC_INIT([lxcfs], [2.0.0], [lxc-devel@lists.linuxcontainers.org])
 AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
 AC_CONFIG_MACRO_DIR([m4])
 
@@ -22,8 +22,6 @@ AC_CONFIG_FILES([
        share/lxc.reboot.hook
        tests/Makefile ])
 
-AM_INIT_AUTOMAKE
-
 LT_INIT
 AC_PROG_CC
 
@@ -68,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:]]'`
 
@@ -78,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
                ;;
        *)
@@ -110,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=