acinclude: simplify commit 48de97c34ff4216a93814a137ad99302b3592ab7

Origin commit data
------------------
Commit: 51c670cab0
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-11-01 (Thu, 01 Nov 2018)

Origin message was:
------------------
- acinclude: simplify commit 48de97c34ff4216a93814a137ad99302b3592ab7
This commit is contained in:
vanhofen
2018-11-01 22:21:20 +01:00
parent d8a2240a74
commit 1610f84662

View File

@@ -419,10 +419,6 @@ AC_ARG_WITH(boxtype,
tripledragon|coolstream|spark|azbox|generic|armbox)
BOXTYPE="$withval"
;;
hd60)
BOXTYPE="armbox"
BOXMODEL="$withval"
;;
*)
AC_MSG_ERROR([bad value $withval for --with-boxtype])
;;
@@ -453,14 +449,7 @@ AS_HELP_STRING([], [valid for generic: raspi]),
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
fi
;;
hd51)
if test "$BOXTYPE" = "armbox"; then
BOXMODEL="$withval"
else
AC_MSG_ERROR([unknown model $withval for boxtype $BOXTYPE])
fi
;;
hd60)
hd51|hd60)
if test "$BOXTYPE" = "armbox"; then
BOXMODEL="$withval"
else