summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2018-09-30 18:41:09 +0000
committerEduard Braun <eduard.braun2@gmx.de>2018-10-01 22:50:12 +0000
commit201c7d76d3c6432e18de93cba1974f1af5c7a14d (patch)
tree438ea78025e7b23d3abae9752ec6d3c7a8fff0e4 /config.h.cmake
parentMove GTKMM_CHECK_VERSION from config.h to it's own header (diff)
downloadinkscape-201c7d76d3c6432e18de93cba1974f1af5c7a14d.tar.gz
inkscape-201c7d76d3c6432e18de93cba1974f1af5c7a14d.zip
config.h - remove all defines we never use
(strictly speaking PACKAGE and PACKAGE_NAME are unused, too, but let's keep them for now)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake134
1 files changed, 19 insertions, 115 deletions
diff --git a/config.h.cmake b/config.h.cmake
index a40bba2be..68a11210a 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -6,8 +6,24 @@
#cmakedefine WIN32
#endif
-/* Use binreloc thread support? */
-#cmakedefine BR_PTHREADS 1
+
+
+/* Name of package */
+#define PACKAGE "${PROJECT_NAME}"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "${PROJECT_NAME}"
+
+/* Translation domain used */
+#define GETTEXT_PACKAGE "${PROJECT_NAME}"
+
+/* Localization directory */
+#define PACKAGE_LOCALE_DIR "${PACKAGE_LOCALE_DIR}"
+
+
+/* Base data directory -- only path-prefix.h should use it! */
+#define INKSCAPE_DATADIR "${INKSCAPE_DATADIR}"
+
/* Use AutoPackage? */
#cmakedefine ENABLE_BINRELOC 1
@@ -24,68 +40,25 @@
/* Build with OSX .app data dir paths? */
#cmakedefine ENABLE_OSX_APP_LOCATIONS 1
-/* Translation domain used */
-#define GETTEXT_PACKAGE "${PROJECT_NAME}"
-
-/* Define to 1 if you have the `bind_textdomain_codeset' function. */
-#cmakedefine HAVE_BIND_TEXTDOMAIN_CODESET 1
-
/* Whether the Cairo PDF backend is available */
#cmakedefine HAVE_CAIRO_PDF 1
#cmakedefine PANGO_ENABLE_ENGINE 1
-#cmakedefine RENDER_WITH_PANGO_CAIRO 1
-
-/* Define to 1 if you have the <fcntl.h> header file. */
-#cmakedefine HAVE_FCNTL_H 1
-/* Define to 1 if you have the `floor' function. */
-#cmakedefine HAVE_FLOOR 1
-
-/* Define to 1 if you have the `fpsetmask' function. */
+/* Define to 1 if you have the `fpsetmask' function. (delete !!!) */
#cmakedefine HAVE_FPSETMASK 1
-/* Define to 1 if you have the `gettimeofday' function. */
-#cmakedefine HAVE_GETTIMEOFDAY 1
-
-/* Build with Gtkmm 3.0.x or higher */
-#cmakedefine WITH_GTKMM_3_0 1
-
-/* Build with Gtkmm 3.10.x or higher */
-#cmakedefine WITH_GTKMM_3_10 1
-
-/* Build with Gtkmm 3.12.x or higher */
-#cmakedefine WITH_GTKMM_3_12 1
-
-/* Build with Gtkmm 3.16.x or higher */
-#cmakedefine WITH_GTKMM_3_16 1
-
-/* Build with Gtkmm 3.22.x or higher */
-#cmakedefine WITH_GTKMM_3_22 1
-
/* Build with GDL 3.6 or higher */
#cmakedefine WITH_GDL_3_6 1
/* Define to 1 if you have the <ieeefp.h> header file. */
#cmakedefine HAVE_IEEEFP_H 1
-/* Define to 1 if you have the <inttypes.h> header file. */
-#cmakedefine HAVE_INTTYPES_H 1
-
/* Define to 1 if you have the `mallinfo' function. */
#cmakedefine HAVE_MALLINFO 1
/* Define to 1 if you have the <malloc.h> header file. */
#cmakedefine HAVE_MALLOC_H 1
-/* Define to 1 if you have the `memmove' function. */
-#cmakedefine HAVE_MEMMOVE 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#cmakedefine HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `memset' function. */
-#cmakedefine HAVE_MEMSET 1
-
/* Use OpenMP (via cmake) */
#cmakedefine HAVE_OPENMP 1
@@ -98,42 +71,9 @@
/* Use libpoppler-cairo for rendering PDF preview */
#cmakedefine HAVE_POPPLER_CAIRO 1
-/* Use libpoppler-glib and Cairo-SVG for PDF import */
-#cmakedefine HAVE_POPPLER_GLIB 1
-
-/* Use color space API from Poppler >= 0.26.0 */
-#cmakedefine POPPLER_EVEN_NEWER_COLOR_SPACE_API 1
-
-/* Use color space API from Poppler >= 0.29.0 */
-#cmakedefine POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API 1
-
-/* Use object API from Poppler >= 0.58.0 */
-#cmakedefine POPPLER_NEW_OBJECT_API 1
-
-/* Define to 1 if you have the `pow' function. */
-#cmakedefine HAVE_POW 1
-
-/* Define to 1 if you have the `sqrt' function. */
-#cmakedefine HAVE_SQRT 1
-
/* Define to 1 if you have the <stdint.h> header file. */
#cmakedefine HAVE_STDINT_H 1
-/* Define to 1 if you have the `strpbrk' function. */
-#cmakedefine HAVE_STRPBRK 1
-
-/* Define to 1 if you have the `strrchr' function. */
-#cmakedefine HAVE_STRRCHR 1
-
-/* Define to 1 if you have the `strspn' function. */
-#cmakedefine HAVE_STRSPN 1
-
-/* Define to 1 if you have the `strstr' function. */
-#cmakedefine HAVE_STRSTR 1
-
-/* Define to 1 if you have the `strtoul' function. */
-#cmakedefine HAVE_STRTOUL 1
-
/* Define to 1 if `fordblks' is member of `struct mallinfo'. */
#cmakedefine HAVE_STRUCT_MALLINFO_FORDBLKS 1
@@ -149,33 +89,6 @@
/* Define to 1 if `usmblks' is member of `struct mallinfo'. */
#cmakedefine HAVE_STRUCT_MALLINFO_USMBLKS 1
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#cmakedefine HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/time.h> header file. */
-#cmakedefine HAVE_SYS_TIME_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#cmakedefine HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#cmakedefine HAVE_UNISTD_H 1
-
-/* Base data directory -- only path-prefix.h should use it! */
-#define INKSCAPE_DATADIR "${INKSCAPE_DATADIR}"
-
-/* Base library directory -- only path-prefix.h should use it! */
-#define INKSCAPE_LIBDIR "${INKSCAPE_LIBDIR}"
-
-/* Name of package */
-#define PACKAGE "${PROJECT_NAME}"
-
-/* Localization directory */
-#define PACKAGE_LOCALE_DIR "${PACKAGE_LOCALE_DIR}"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "${PROJECT_NAME}"
-
/* Build in dbus */
#cmakedefine WITH_DBUS 1
@@ -191,27 +104,18 @@
/* Build in libcdr */
#cmakedefine WITH_LIBCDR 1
-/* Build using libcdr 0.0.x */
-#cmakedefine WITH_LIBCDR00 1
-
/* Build using libcdr 0.1.x */
#cmakedefine WITH_LIBCDR01 1
/* Build in libvisio */
#cmakedefine WITH_LIBVISIO 1
-/* Build using libvisio 0.0.x */
-#cmakedefine WITH_LIBVISIO00 1
-
/* Build using libvisio 0.1.x */
#cmakedefine WITH_LIBVISIO01 1
/* Build in libwpg */
#cmakedefine WITH_LIBWPG 1
-/* Build in libwpg-0.1 */
-#cmakedefine WITH_LIBWPG01 1
-
/* Build in libwpg-0.2 */
#cmakedefine WITH_LIBWPG02 1