File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 2727 * DEALINGS IN THE SOFTWARE.
2828 *****************************************************************************/
2929
30- #ifdef USE_MAPSERVER
3130
3231#include "mapcache.h"
3332#include "ezxml.h"
33+
34+ #ifdef USE_MAPSERVER
3435#include <apr_tables.h>
3536#include <apr_strings.h>
3637#ifdef APR_HAS_THREADS
@@ -273,7 +274,11 @@ mapcache_source* mapcache_source_mapserver_create(mapcache_context *ctx)
273274 source -> source .query_info = _mapcache_source_mapserver_query ;
274275 return (mapcache_source * )source ;
275276}
276-
277+ #else
278+ mapcache_source * mapcache_source_mapserver_create (mapcache_context * ctx )
279+ {
280+ ctx -> set_error (ctx , 500 , "mapserver source not configured for this build" );
281+ }
277282#endif
278283
279284/* vim: ts=2 sts=2 et sw=2
You can’t perform that action at this time.
0 commit comments