Subject: [PATCH] configure.ac: uclinux is also linux

From: Gustavo Zacarias <[email-masked]>
Date: Mon, 30 Jun 2014 10:14:42 -0300

uclinux is used in the tuple for some noMMU linux builds like Blackfin
FLAT output, so accept it as linux too.

Signed-off-by: Gustavo Zacarias <[email-masked]>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 436d0e2..50ad478 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,10 +58,10 @@ AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
 
 AC_CANONICAL_HOST
 case "$host_os" in
-	linux*) OS=linux ;;
+	linux*|uclinux*) OS=linux ;;
 	gnu*)	OS=gnu ;;
 	beos*)	OS=beos ;;
-	*)	AC_MSG_ERROR([Unknown or unsupported OS "$host_os".  Only "linux", "gnu" and "beos" are supported in this version of GNU Parted.]) ;;
+	*)	AC_MSG_ERROR([Unknown or unsupported OS "$host_os".  Only "linux", "uclinux", "gnu" and "beos" are supported in this version of GNU Parted.]) ;;
 esac
 AC_SUBST([OS])
 
-- 
1.8.5.5