mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-07-22 01:12:35 +00:00

So far, (meta)tiles could only be stored and retrieved from a locally mounted posix filesystem. Although, the posix filesystem API is it self a plugable storage layer into which one can mount many different filsystems, from temporary filesystems to network filesystems, as mod_tile installations scale up to multi-server environments this might not be sufficient and one may want to use other storage layers. This patch therefore abstracts all storage calls out into a separate API that can be implemented by various storage backends to fit the needs of different installations. Three storage backends are included in this commit: - file backend: This is the equivalent of what existed before in mod_tile / renderd. This uses a posix filesystem to store (meta)tiles - memcached: This stores tiles in a memcached store - rados: This stores tiles in a rados / ceph cluster The memcached and rados backends should currently still be considered as experimental There are also other refactoring and cleanups in this commit
32 lines
881 B
Plaintext
32 lines
881 B
Plaintext
# ===========================================================================
|
|
# http://www.gnu.org/software/autoconf-archive/ax_restore_flags.html
|
|
# ===========================================================================
|
|
#
|
|
# SYNOPSIS
|
|
#
|
|
# AX_RESTORE_FLAGS()
|
|
#
|
|
# DESCRIPTION
|
|
#
|
|
# Restore common compilation flags from temporary variables
|
|
#
|
|
# LICENSE
|
|
#
|
|
# Copyright (c) 2009 Filippo Giunchedi <filippo@esaurito.net>
|
|
#
|
|
# Copying and distribution of this file, with or without modification, are
|
|
# permitted in any medium without royalty provided the copyright notice
|
|
# and this notice are preserved. This file is offered as-is, without any
|
|
# warranty.
|
|
|
|
#serial 3
|
|
|
|
AC_DEFUN([AX_RESTORE_FLAGS], [
|
|
CPPFLAGS="${CPPFLAGS_save}"
|
|
CFLAGS="${CFLAGS_save}"
|
|
CXXFLAGS="${CXXFLAGS_save}"
|
|
OBJCFLAGS="${OBJCFLAGS_save}"
|
|
LDFLAGS="${LDFLAGS_save}"
|
|
LIBS="${LIBS_save}"
|
|
])
|