mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-05 02:10:17 +01:00
minor fixes for distros
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@67 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
594d8393f3
commit
b034d4d1ab
1 changed files with 5 additions and 3 deletions
|
|
@ -10,18 +10,20 @@ AC_ARG_WITH(distro,
|
|||
[
|
||||
--with-distro: Specify the Linux distribution to target with distro-specific
|
||||
parts of NetworkManager
|
||||
--with-distro=RedHat
|
||||
--with-distro=Gentoo
|
||||
--with-distro=redhat
|
||||
--with-distro=gentoo
|
||||
--with-distro=debian
|
||||
--with-distro=mandrake
|
||||
],,)
|
||||
|
||||
TARGET_DISTRO=
|
||||
SYSTEM_BACKEND_FILE=
|
||||
if test "z$with_distro" = "z"; then
|
||||
AC_CHECK_FILE(/etc/mandrake-release,with_distro="mandrake")
|
||||
AC_CHECK_FILE(/etc/redhat-release,with_distro="redhat")
|
||||
AC_CHECK_FILE(/etc/fedora-release,with_distro="redhat")
|
||||
AC_CHECK_FILE(/etc/gentoo-release,with_distro="gentoo")
|
||||
AC_CHECK_FILE(/etc/debian_version,with_distro="debian")
|
||||
AC_CHECK_FILE(/etc/mandrake-release,with_distro="mandrake")
|
||||
fi
|
||||
|
||||
if test "z$with_distro" = "z"; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue