acinclude: move enable-change-osd-resolution handling to configure.ac; rework handling

Origin commit data
------------------
Branch: ni/coolstream
Commit: ac54273455
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-01-28 (Sat, 28 Jan 2023)

Origin message was:
------------------
- acinclude: move enable-change-osd-resolution handling to configure.ac; rework handling

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2023-01-28 12:06:17 +01:00
parent ddf6fe7310
commit 610834a194
2 changed files with 20 additions and 12 deletions

View File

@@ -29,11 +29,6 @@ if test "$DEBUG" = "yes"; then
AC_DEFINE(DEBUG, 1, [enable debugging code])
fi
AC_ARG_ENABLE(reschange,
AS_HELP_STRING([--enable-reschange], [enable to change osd resolution]),
AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable to change osd resolution]))
AM_CONDITIONAL(ENABLE_RESCHANGE, test "$enable_reschange" = "yes")
AC_MSG_CHECKING(target)
if test "$TARGET" = "native"; then
@@ -608,13 +603,6 @@ case "$BOXMODEL" in
;;
esac
AM_CONDITIONAL(BOXMODEL_HISILICON, test "$hisilicon" = "true")
# BOXMODELs that allows to change osd resolution
case "$BOXMODEL" in
hd2|hd60|hd61|multibox|multiboxse|hd51|bre2ze4k|h7|e4hdultra|protek4k|osmini4k|osmio4k|osmio4kplus|vusolo4k|vuduo4k|vuduo4kse|vuultimo4k|vuuno4k|vuuno4kse|vuzero4k|vuduo|vuduo2|gb800se|osnino|osninoplus|osninopro)
AC_DEFINE(ENABLE_CHANGE_OSD_RESOLUTION, 1, [enable to change osd resolution])
;;
esac
])
dnl backward compatiblity