]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/parted/0002-configure.ac-uclinux-is-also-linux.patch
parted: properly link with libiconv
[coffee/buildroot.git] / package / parted / 0002-configure.ac-uclinux-is-also-linux.patch
1 From 7697d9c54e489b32b82c01f17db04f8b51857e51 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 2.14.2
33