From b034d4d1ab5c083d0b574b78e412ca78c7187d94 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Wed, 25 Aug 2004 22:09:11 +0000 Subject: [PATCH] minor fixes for distros git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@67 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- configure.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 073310e3e0..65d07b91c4 100644 --- a/configure.in +++ b/configure.in @@ -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