add option to change openweather api to 3.0, since 2.5 will be deactivated in June 2024

Origin commit data
------------------
Branch: ni/coolstream
Commit: 58cf5bf2f1
Author: TangoCash <eric@loxat.de>
Date: 2024-05-03 (Fri, 03 May 2024)


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

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2024-05-03 22:24:51 +02:00
committed by vanhofen
parent 0b8d7db3e8
commit 10a9a1a206
11 changed files with 64 additions and 2 deletions

View File

@@ -210,6 +210,12 @@ AC_ARG_WITH(weather-dev-key,
[WEATHER_DEV_KEY=""])
AC_DEFINE_UNQUOTED([WEATHER_DEV_KEY], ["$WEATHER_DEV_KEY"], [API dev key to get data from weather data base, required for additional weather informations])
AC_ARG_WITH(weather-dev-ver,
AS_HELP_STRING([--with-weather-dev-ver=version], [API version to get data from weather data base, required for additional weather informations]),
[WEATHER_DEV_VER="$withval"],
[WEATHER_DEV_VER=""])
AC_DEFINE_UNQUOTED([WEATHER_DEV_VER], ["$WEATHER_DEV_VER"], [API version to get data from weather data base, required for additional weather informations])
AC_ARG_ENABLE([weather-key-manage],
AS_HELP_STRING([--enable-weather-key-manage], [enable manage weather api dev key via gui for additional weather informations @<:@default=yes@:>@]),
[enable_weather_key_manage="$enableval"],