summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-05-27 18:38:14 +0900
committerMichele Calgaro <[email protected]>2023-09-21 20:02:00 +0900
commitf378f80d41bd9f85f5473d1af5920d00377faab3 (patch)
tree47c83ff3040f2f5ccc9ce8f9219f0859882aaf09 /config.h.cmake
parent2a7760d9b697a6845c3f0256edc0aaef3a202295 (diff)
downloadlibksquirrel-f378f80d41bd9f85f5473d1af5920d00377faab3.tar.gz
libksquirrel-f378f80d41bd9f85f5473d1af5920d00377faab3.zip
Conversion to cmake building system
Signed-off-by: Michele Calgaro <[email protected]> Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit af121719c99a99fc3444d181777a6177f0d59dba)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake38
1 files changed, 38 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
new file mode 100644
index 0000000..2b1a33d
--- /dev/null
+++ b/config.h.cmake
@@ -0,0 +1,38 @@
+#define VERSION "@VERSION@"
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
+
+// package name and string
+#define PACKAGE_NAME "ksquirrel-libs"
+#define PACKAGE_STRING "ksquirrel-libs @LIBKSQUIRREL_VERSION_STRING@"
+#define PACKAGE_VERSION "@LIBKSQUIRREL_VERSION_STRING@"
+
+// Defined if you have "inttypes.h" header file
+#cmakedefine HAVE_INTTYPES_H @HAVE_INTTYPES_H@
+
+// Defined if you have "stdint.h" header file
+#cmakedefine HAVE_STDINT_H @HAVE_STDINT_H@
+
+// Defined if you have "netinet/in.h" header file
+#cmakedefine HAVE_NETINET_IN_H @HAVE_NETINET_IN_H@
+
+// Defined if you have "arpa/inet.h" header file
+#cmakedefine HAVE_ARPA_INET_H @HAVE_ARPA_INET_H@
+
+// Defined if you have "getopt.h" header file
+#cmakedefine HAVE_GETOPT_H @HAVE_GETOPT_H@
+
+// Defined if you have "getopt_long" support
+#cmakedefine HAVE_GETOPT_LONG @HAVE_GETOPT_LONG@
+
+// Defined if you have "mmap" support
+#cmakedefine HAVE_MMAP @HAVE_MMAP@
+
+// Defined if you have "strcasecmp" support
+#cmakedefine HAVE_STRCASECMP @HAVE_STRCASECMP@
+
+// Defined if you have "libiconv" support
+#cmakedefine HAVE_ICONV @HAVE_ICONV@
+