From 9df099c844b92b0cdcba1706bf5e4365e2c8cb90 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Tue, 14 Feb 2012 14:54:26 +0000
Subject: [PATCH] support Debian also with multiarch, like Ubuntu.

git-svn-id: http://root.cern.ch/svn/root/trunk@43000 27541ba8-7e3a-0410-8455-c3a389f83636
---
 configure | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 1104113b1e2..afd286cc2d4 100755
--- a/configure
+++ b/configure
@@ -1764,13 +1764,16 @@ fi
 if test "x$platform" = "xlinux" ; then
     linuxdist=
     if `$cwhich lsb_release > /dev/null 2>&1` ; then
-       if lsb_release -d | grep 'Ubuntu' > /dev/null 2>& 1; then
-          linuxdist="ubuntu"
+       if lsb_release -d | grep -i 'ubuntu' > /dev/null 2>& 1; then
+          linuxdist="multiarch"
+       fi
+       if lsb_release -d | grep -i 'debian' > /dev/null 2>& 1; then
+          linuxdist="multiarch"
        fi
     fi
 
     debmultiarch=
-    if test "x$linuxdist" = "xubuntu"; then
+    if test "x$linuxdist" = "xmultiarch"; then
         if `$cwhich dpkg-architecture > /dev/null 2>&1` ; then
             if `dpkg-architecture -qDEB_HOST_MULTIARCH > /dev/null 2>&1` ; then
                 logmsg "Checking dpkg-architecture"
-- 
GitLab