summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-09-29 12:18:25 +0100
committerSimon McVittie <smcv@collabora.com>2017-09-29 14:04:38 +0100
commit633a208ce72eef3d8322f97c8671ce577aa87775 (patch)
tree8b5016634c93d1b025e9e768ce9073d743c7203a /cmake
parent09d9cc2b09209a7dd3e4076560180e0b63169c48 (diff)
build: Remove unused substitution DBUS_PATH_OR_ABSTRACT
This was presumably once used in constructs like "unix:" DBUS_PATH_OR_ABSTRACT "=/var/run/dbus/foo", but git grep says there are no remaining uses, so it can go. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34905 Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/ConfigureChecks.cmake7
-rw-r--r--cmake/config.h.cmake10
2 files changed, 0 insertions, 17 deletions
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
index 119b83e6..6815178b 100644
--- a/cmake/ConfigureChecks.cmake
+++ b/cmake/ConfigureChecks.cmake
@@ -177,10 +177,3 @@ if (DBUS_ENABLE_ABSTRACT_SOCKETS)
${CMAKE_SOURCE_DIR}/modules/CheckForAbstractSockets.c)
endif(DBUS_ENABLE_ABSTRACT_SOCKETS)
-
-if(HAVE_ABSTRACT_SOCKETS)
- set(DBUS_PATH_OR_ABSTRACT_VALUE abstract)
-else(HAVE_ABSTRACT_SOCKETS)
- set(DBUS_PATH_OR_ABSTRACT_VALUE path)
-endif(HAVE_ABSTRACT_SOCKETS)
-
diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
index 361d0b0d..154353b7 100644
--- a/cmake/config.h.cmake
+++ b/cmake/config.h.cmake
@@ -53,16 +53,6 @@
#cmakedefine HAVE_ABSTRACT_SOCKETS 1
-#cmakedefine DBUS_PATH_OR_ABSTRACT_VALUE 1
-
-#if (defined DBUS_PATH_OR_ABSTRACT_VALUE)
-#define DBUS_PATH_OR_ABSTRACT @DBUS_PATH_OR_ABSTRACT_VALUE@
-#endif
-
-#ifdef DBUS_PATH_OR_ABSTRACT_VALUE
-#undef DBUS_PATH_OR_ABSTRACT_VALUE
-#endif
-
/* selinux */
/* kqueue */
#cmakedefine HAVE_CONSOLE_OWNER_FILE 1