Commit 6e7e54d9 by Alexander Khryukin Committed by Stéphane Graber

Change configure, replacing mandriva by openmandriva

The latest Mandriva distro release was in 2011 and nowadays distro named OpenMandriva Lx. Signed-off-by: 's avatarAlexander Khryukin <alexander@mezon.ru> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 09da66e6
...@@ -14,7 +14,7 @@ AC_GNU_SOURCE ...@@ -14,7 +14,7 @@ AC_GNU_SOURCE
# Detect the distribution. This is used for the default configuration and # Detect the distribution. This is used for the default configuration and
# for some distro-specific build options. # for some distro-specific build options.
AC_MSG_CHECKING([host distribution]) 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 if test "z$with_distro" = "z"; then
with_distro=`lsb_release -is` with_distro=`lsb_release -is`
fi fi
...@@ -28,8 +28,8 @@ if test "z$with_distro" = "z"; then ...@@ -28,8 +28,8 @@ if test "z$with_distro" = "z"; then
AC_CHECK_FILE(/etc/arch-release,with_distro="arch") AC_CHECK_FILE(/etc/arch-release,with_distro="arch")
AC_CHECK_FILE(/etc/slackware-version,with_distro="slackware") AC_CHECK_FILE(/etc/slackware-version,with_distro="slackware")
AC_CHECK_FILE(/etc/frugalware-release,with_distro="frugalware") AC_CHECK_FILE(/etc/frugalware-release,with_distro="frugalware")
AC_CHECK_FILE(/etc/mandrakelinux-release, with_distro="mandriva") AC_CHECK_FILE(/etc/mandrakelinux-release, with_distro="openmandriva")
AC_CHECK_FILE(/etc/mandriva-release,with_distro="mandriva") AC_CHECK_FILE(/etc/mandriva-release,with_distro="openmandriva")
AC_CHECK_FILE(/etc/pardus-release,with_distro="pardus") AC_CHECK_FILE(/etc/pardus-release,with_distro="pardus")
fi fi
with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]'` with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]'`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment