summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-10-06 19:29:01 -0700
committerKeith Packard <keithp@keithp.com>2018-10-06 19:48:41 -0700
commitc7b1f3c6722ae59d09a888084075664446ff2768 (patch)
tree29e22924ee5a6ecacad095f4a65b7f69c84eaf70 /configure.ac
parentfe761eb413430c061b12f6ca8003665e56e20262 (diff)
altoslib: Switch to maps.altusmetrum.org when no google map key is available
The map key is only usable from maps.altusmetrum.org at this point, and that service will be proxying for everyone in the near future. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 0 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index 1705745d..741fa013 100644
--- a/configure.ac
+++ b/configure.ac
@@ -172,26 +172,12 @@ AM_CONDITIONAL(FATINSTALL, [test "x$FATDIR" != "xnone"])
AC_SUBST(FATDIR)
-AC_ARG_WITH(google-key, AS_HELP_STRING([--with-google-key=PATH],
- [Set the file to read the google maps API key from (defaults to ~/altusmetrumllc/google-maps-api-key)]),
- [GOOGLEKEYFILE=$withval], [GOOGLEKEYFILE=$HOME/altusmetrumllc/google-maps-api-key])
-
-if test -r "$GOOGLEKEYFILE" -a -s "$GOOGLEKEYFILE"; then
- GOOGLEKEY=`cat "$GOOGLEKEYFILE"`
- HAVE_GOOGLE_KEY="yes"
-else
- GOOGLEKEY='null'
- HAVE_GOOGLE_KEY="no"
-fi
-
AC_ARG_ENABLE(faketime, AS_HELP_STRING([--enable-faketime],
[Use faketime program to ensure pdf files are reproducible (default=no)]),
[FAKETIME=$enableval], [FAKETIME=no])
AM_CONDITIONAL(FAKETIME, [test x$FAKETIME = xyes])
-AC_SUBST(GOOGLEKEY)
-
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S