]> git.street.me.uk Git - andy/viking.git/blobdiff - configure.ac
Some spelling fixes in a comment
[andy/viking.git] / configure.ac
index c3f3a46b1d07ab2d6b76b6bbc3eccd59a4d79c00..f1b26d703b2704daf74bed63c221005ce979da4a 100644 (file)
@@ -62,8 +62,6 @@ AC_C_CONST
 AC_TYPE_MODE_T
 
 # Checks for library functions or symbols
-AC_FUNC_STAT
-AC_FUNC_STRTOD
 AC_CHECK_FUNCS([floor memset mkdtemp pow realpath sqrt strcasecmp strchr strncasecmp strtol strtoul])
 AC_CHECK_LIB(m, tan)
 AC_CHECK_LIB(z, inflate)
@@ -439,9 +437,19 @@ AC_ARG_WITH(mapbox_access_token,
               package, as requests are limited per token.])],
            [VIK_CONFIG_MAPBOX_TOKEN="\"${withval}\""],
            [VIK_CONFIG_MAPBOX_TOKEN="\"pk.eyJ1Ijoicndub3JyaXMiLCJhIjoiY2lxc294anN2MDA5bWhzbWFseWsxMW1ydiJ9.HcybKtZsiG6RVuOHg481Kg\""])
-AC_DEFINE_UNQUOTED(VIK_CONFIG_MAPBOX_TOKEN, ${VIK_CONFIG_MAPBOX_TOKEN}, [geonames username])
+AC_DEFINE_UNQUOTED(VIK_CONFIG_MAPBOX_TOKEN, ${VIK_CONFIG_MAPBOX_TOKEN}, [Mapbox Token])
 
 
+dnl Compile time defined key
+AC_ARG_WITH(thunderforest_apikey,
+            [AC_HELP_STRING([--with-thunderforest_apikey],
+            [API Key for Thunderforest (OSM Cyclemap) tiles.
+              Please register your own if you're going to distribute the
+              package, as requests are limited per key.])],
+           [VIK_CONFIG_THUNDERFOREST_KEY="\"${withval}\""],
+           [VIK_CONFIG_THUNDERFOREST_KEY="\"7387c111d85642b18f63608bd4cb8b4f\""])
+AC_DEFINE_UNQUOTED(VIK_CONFIG_THUNDERFOREST_KEY, ${VIK_CONFIG_THUNDERFOREST_KEY}, [Thunderforest key])
+
 AC_ARG_WITH(geonames_username,
             [AC_HELP_STRING([--with-geonames_username],
             [Username for the GeoNames webservice.