add weather via Dark Sky API -step1-

Signed-off-by: Thilo Graf <dbt@novatux.de>

Build errors fixed, missing code disabled
This commit is contained in:
TangoCash
2019-03-20 15:27:14 +01:00
committed by Thilo Graf
parent 69ae7d89e3
commit f7219894bc
31 changed files with 786 additions and 7 deletions

View File

@@ -24,6 +24,22 @@ if test "$DEBUG" = "yes"; then
AC_DEFINE(DEBUG, 1, [enable debugging code])
fi
# weather
AC_ARG_WITH(weather-dev-key,
AS_HELP_STRING([--with-weather-dev-key=KEY], [API dev key to get data from weather data base, required for additional weather informations]),
[WEATHER_DEV_KEY="$withval"],
[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_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"],
[enable_weather_key_manage="yes"])
if test "$enable_weather_key_manage" = "yes" ; then
AC_DEFINE([ENABLE_WEATHER_KEY_MANAGE], 1, [Enable manage weather api dev key via gui for additional weather informations])
fi
# weather end
# tmdb
AC_ARG_WITH(tmdb-dev-key,