mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-05 13:30:33 +01:00
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>
This commit is contained in:
parent
09d9cc2b09
commit
633a208ce7
3 changed files with 0 additions and 28 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
11
configure.ac
11
configure.ac
|
|
@ -921,17 +921,6 @@ if test x$enable_abstract_sockets = xno; then
|
|||
ac_cv_have_abstract_sockets=no;
|
||||
fi
|
||||
|
||||
if test x$ac_cv_have_abstract_sockets = xyes ; then
|
||||
DBUS_PATH_OR_ABSTRACT=abstract
|
||||
AC_DEFINE(HAVE_ABSTRACT_SOCKETS,1,[Have abstract socket namespace])
|
||||
else
|
||||
DBUS_PATH_OR_ABSTRACT=path
|
||||
fi
|
||||
|
||||
# this is used in addresses to prefer abstract, e.g.
|
||||
# unix:path=/foo or unix:abstract=/foo
|
||||
AC_SUBST(DBUS_PATH_OR_ABSTRACT)
|
||||
|
||||
PKG_CHECK_MODULES([EXPAT], [expat])
|
||||
|
||||
save_cflags="$CFLAGS"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue