From: Alexander Khryukin Date: Fri, 18 Oct 2013 12:41:02 +0000 (+0400) Subject: Change configure, replacing mandriva by openmandriva X-Git-Tag: lxc-1.0.0.alpha2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e7e54d902c7d8bb791fdc26303908a94c18be1f;p=thirdparty%2Flxc.git Change configure, replacing mandriva by openmandriva The latest Mandriva distro release was in 2011 and nowadays distro named OpenMandriva Lx. Signed-off-by: Alexander Khryukin Acked-by: Stéphane Graber --- diff --git a/configure.ac b/configure.ac index 5b9101a96..2831c0140 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ AC_GNU_SOURCE # Detect the distribution. This is used for the default configuration and # for some distro-specific build options. AC_MSG_CHECKING([host distribution]) -AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, oracle, fedora, suse, gentoo, debian, arch, slackware, paldo, mandriva or pardus.])) +AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO], [Specify the Linux distribution to target: One of redhat, oracle, fedora, suse, gentoo, debian, arch, slackware, paldo, openmandriva or pardus.])) if test "z$with_distro" = "z"; then with_distro=`lsb_release -is` fi @@ -28,8 +28,8 @@ if test "z$with_distro" = "z"; then AC_CHECK_FILE(/etc/arch-release,with_distro="arch") AC_CHECK_FILE(/etc/slackware-version,with_distro="slackware") AC_CHECK_FILE(/etc/frugalware-release,with_distro="frugalware") - AC_CHECK_FILE(/etc/mandrakelinux-release, with_distro="mandriva") - AC_CHECK_FILE(/etc/mandriva-release,with_distro="mandriva") + 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") fi with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]'`