From 80c961d5f40c8437e502d422d35df807231c7517 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Mon, 13 Feb 2017 00:03:58 +0100 Subject: [PATCH] acinclude: only set default model to hd1 if boxtype=coolstream --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 308d1619e..35c3a8f49 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -525,7 +525,7 @@ AC_ARG_WITH(boxmodel, *) AC_MSG_ERROR([unsupported value $withval for --with-boxmodel]) ;; - esac], [BOXMODEL="hd1"] + esac], [test "$BOXTYPE" = "coolstream" && BOXMODEL="hd1" || true] [if test "$BOXTYPE" = "dreambox" -o "$BOXTYPE" = "ipbox" && test -z "$BOXMODEL"; then AC_MSG_ERROR([Dreambox/IPBox needs --with-boxmodel]) fi])