aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-12 15:59:12 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-12 15:59:12 +0100
commit2be05d7af71ac14a9f515254185e16522310b5ad (patch)
treefabc302d8a0e7218eb5a713f25f2a75535ed5dbb /config.h.in
parentc3fa4244878d79e1e679622394146f6f0c593a5b (diff)
downloadrspamd-2be05d7af71ac14a9f515254185e16522310b5ad.tar.gz
rspamd-2be05d7af71ac14a9f515254185e16522310b5ad.zip
Export rspamd paths to lua.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.h.in b/config.h.in
index d959da5b0..b7fae4c6d 100644
--- a/config.h.in
+++ b/config.h.in
@@ -198,6 +198,10 @@
#cmakedefine GLIB_HASH_COMPAT 1
#cmakedefine PARAM_H_HAS_BITSET 1
+#define ETC_PREFIX "${ETC_PREFIX}"
+#define LOCALSTATES_PREFIX "${LOCALSTATES_PREFIX}"
+#define CMAKE_PREFIX "${CMAKE_INSTALL_PREFIX}"
+
#define RVERSION "${RSPAMD_VERSION}"
#define RID "${ID}"
#define RSPAMD_MASTER_SITE_URL "${RSPAMD_MASTER_SITE_URL}"
@@ -441,9 +445,6 @@ typedef off_t goffset;
#include <gmime/gmime.h>
#endif
-#define CMAKE_PREFIX "${CMAKE_INSTALL_PREFIX}"
-#define ETC_PREFIX "${ETC_PREFIX}"
-
/* Forwarded declaration */
struct module_ctx;
struct config_file;