b2119bcdd7090bcd3e7f0b7aa7069ae6e9b2d743
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / parted / 0002-configure.ac-uclinux-is-also-linux.patch
1 From b3958317c5ee2940e7024bec2e7f288b5a6a26c3 Mon Sep 17 00:00:00 2001
2 From: Gustavo Zacarias <gustavo@zacarias.com.ar>
3 Date: Mon, 30 Jun 2014 10:09:04 -0300
4 Subject: [PATCH] configure.ac: uclinux is also linux
5
6 uclinux is used in the tuple for some noMMU linux builds like Blackfin
7 FLAT output, so accept it as linux too.
8
9 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10 ---
11  configure.ac | 4 ++--
12  1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/configure.ac b/configure.ac
15 index 436d0e2..50ad478 100644
16 --- a/configure.ac
17 +++ b/configure.ac
18 @@ -58,10 +58,10 @@ AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
19  
20  AC_CANONICAL_HOST
21  case "$host_os" in
22 -       linux*) OS=linux ;;
23 +       linux*|uclinux*) OS=linux ;;
24         gnu*)   OS=gnu ;;
25         beos*)  OS=beos ;;
26 -       *)      AC_MSG_ERROR([Unknown or unsupported OS "$host_os".  Only "linux", "gnu" and "beos" are supported in this version of GNU Parted.]) ;;
27 +       *)      AC_MSG_ERROR([Unknown or unsupported OS "$host_os".  Only "linux", "uclinux", "gnu" and "beos" are supported in this version of GNU Parted.]) ;;
28  esac
29  AC_SUBST([OS])
30  
31 -- 
32 1.8.5.5
33