[config] config.h=>libpostal_config.h so as not to conflict with autoconf

This commit is contained in:
Al
2015-08-06 17:49:35 -04:00
parent 2bedb695a2
commit 61d586fa1d
5 changed files with 10 additions and 8 deletions

17
src/libpostal_config.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef LIBPOSTAL_PATHS_H
#define LIBPOSTAL_PATHS_H
#include "file_utils.h"
#ifndef LIBPOSTAL_DATA_DIR
#error LIBPOSTAL_DATA_DIR not defined!
#endif
#define LIBPOSTAL_DICTIONARIES_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "dictionaries"
#define LIBPOSTAL_GEONAMES_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "geonames"
#define LIBPOSTAL_GEODB_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "geodb"
#define GEODB_BLOOM_FILTER_SIZE 100000000
#define GEODB_BLOOM_FILTER_ERROR 0.001
#endif