summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-04 10:56:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-07 11:53:46 +0200
commit24d59c9e044dfc04013b5d364237245b314f62ed (patch)
tree818abe2ed383f9bb65402b7573fd3569155a89d3 /config_host
parent4d7867c3ac20083b5fd943f5bca44b102ccbe20e (diff)
configure option to disable libnumbertext
Because we get a crash in CppunitTest_sw_odfexport when compiling with clang >= 6.0.0 Also had to fix the ENABLE_LIBNUMBERTEXT being propogated, and the way the code checked it. Change-Id: I68e4a0078016d176f478ca4c1110fc296b6ca921
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_libnumbertext.h.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/config_host/config_libnumbertext.h.in b/config_host/config_libnumbertext.h.in
new file mode 100644
index 000000000000..de757806a104
--- /dev/null
+++ b/config_host/config_libnumbertext.h.in
@@ -0,0 +1,17 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_CONFIG_LIBNUMBERTEXT_H
+#define INCLUDED_CONFIG_LIBNUMBERTEXT_H
+
+#define ENABLE_LIBNUMBERTEXT 0
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */