summaryrefslogtreecommitdiff
path: root/storage/oqgraph/graphcore-config.h
diff options
context:
space:
mode:
authorAntony T Curtis <antony@xiphis.org>2013-02-21 10:36:25 -0800
committerAntony T Curtis <antony@xiphis.org>2013-02-21 10:36:25 -0800
commit86ed2765bb55e665a1b0c42566775e83cb202bdb (patch)
treef8156e988220d2cfa3c13794dcb07c9521c5fd15 /storage/oqgraph/graphcore-config.h
parent694cbb5fb9f42406c3082914e3c94a4841ce5e12 (diff)
downloadmariadb-git-86ed2765bb55e665a1b0c42566775e83cb202bdb.tar.gz
Fix for FindJust.cmake
Make sure that boost is included with consistent config.
Diffstat (limited to 'storage/oqgraph/graphcore-config.h')
-rw-r--r--storage/oqgraph/graphcore-config.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/storage/oqgraph/graphcore-config.h b/storage/oqgraph/graphcore-config.h
new file mode 100644
index 00000000000..4d711bdc53c
--- /dev/null
+++ b/storage/oqgraph/graphcore-config.h
@@ -0,0 +1,40 @@
+/* Copyright (C) 2007-2013 Arjen G Lentz & Antony T Curtis for Open Query
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+/* ======================================================================
+ Open Query Graph Computation Engine, based on a concept by Arjen Lentz
+ Mk.II implementation by Antony Curtis & Arjen Lentz
+ For more information, documentation, support, enhancement engineering,
+ and non-GPL licensing, see http://openquery.com/graph
+ or contact graph@openquery.com
+ For packaged binaries, see http://ourdelta.org
+ ======================================================================
+*/
+#ifndef oq_graphcore_config_h_
+#define oq_graphcore_config_h_
+
+#define BOOST_ALL_NO_LIB 1
+#define BOOST_NO_RTTI 1
+#define BOOST_NO_TYPEID 1
+
+#ifdef DBUG_OFF
+#define NDEBUG 1
+#endif
+
+#include <boost/config.hpp>
+
+#endif
+