summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2016-11-29 15:32:38 +0800
committerPeng Wu <alexepico@gmail.com>2016-11-29 15:32:38 +0800
commitabed0b59cbeb3e129082b40df844bf148b8b96db (patch)
treec625d1d2d658a9f23ec10c666580f15080b9d900 /config.h.cmake
parent710b68d071ee95a58421acbdfca8154ba56502ac (diff)
downloadlibpinyin-abed0b59cbeb3e129082b40df844bf148b8b96db.tar.gz
libpinyin-abed0b59cbeb3e129082b40df844bf148b8b96db.tar.xz
libpinyin-abed0b59cbeb3e129082b40df844bf148b8b96db.zip
update cmake files
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake23
1 files changed, 23 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
new file mode 100644
index 0000000..dadb3de
--- /dev/null
+++ b/config.h.cmake
@@ -0,0 +1,23 @@
+/*--------------------------------------------------------------------------
+ * This file is autogenerated from config.h.in
+ * during the cmake configuration of your project. If you need to make changes
+ * edit the original file NOT THIS FILE.
+ * --------------------------------------------------------------------------*/
+#ifndef _CONFIGURATION_HEADER_GUARD_H_
+#define _CONFIGURATION_HEADER_GUARD_H_
+
+/* Define to 1 if you have a working `mmap' system call. */
+#cmakedefine HAVE_MMAP @HAVE_MMAP@
+
+/* Have Berkeley DB. */
+#cmakedefine HAVE_BERKELEY_DB @HAVE_BERKELEY_DB@
+
+/* Have Kyoto Cabinet. */
+#cmakedefine HAVE_KYOTO_CABINET @HAVE_KYOTO_CABINET@
+
+/* Enable GNU extensions on systems that have them. */
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE 1
+#endif
+
+#endif