summaryrefslogtreecommitdiffstats
path: root/recipes-networking/netcf/netcf/0001-fix-network-driver-check-issue-on-opensuse.patch
blob: eef5b5cb6e5ad6f05aed5a0407e63742cc2aeafe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 285871a2db42727665a2ab7fc16fa2fb8fa830d3 Mon Sep 17 00:00:00 2001
From: Ting Liu <b28495@freescale.com>
Date: Thu, 23 May 2013 17:39:35 +0800
Subject: [PATCH] fix network driver check issue on opensuse

Upstream-Status: Pending

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3f30865..708eb28 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,7 +77,7 @@ fi
 if test "x$with_driver" = "xcheck" && test -f /etc/ubuntu_version ; then
   with_driver=debian
 fi
-if test "x$with_driver" = "xcheck" && test -f /etc/suse-release ; then
+if test "x$with_driver" = "xcheck" && (test -f /etc/suse-release || test -f /etc/SuSE-release) ; then
   with_driver=suse
 fi
 if test "x$with_driver" = "xcheck" ; then
-- 
1.7.3.4