Use same name for DBUS_HAVE_LINUX_EPOLL cpp macro and Automake conditional

Reviewed-by: Simon McVittie <smcv@collabora.com>
Bug: https://gitlab.freedesktop.org/dbus/dbus/merge_requests/18
This commit is contained in:
Ralf Habacker 2018-10-20 22:25:06 +02:00
parent c9d3bf5f3f
commit 9455d3542a
2 changed files with 2 additions and 2 deletions

View file

@ -1011,7 +1011,7 @@ fi
if test x$have_linux_epoll = xyes; then
AC_DEFINE([DBUS_HAVE_LINUX_EPOLL], 1, [Define to use epoll(4) on Linux])
fi
AM_CONDITIONAL([HAVE_LINUX_EPOLL], [test x$have_linux_epoll = xyes])
AM_CONDITIONAL([DBUS_HAVE_LINUX_EPOLL], [test x$have_linux_epoll = xyes])
# kqueue checks
if test x$enable_kqueue = xno ; then

View file

@ -120,7 +120,7 @@ DBUS_UTIL_arch_sources = \
$(NULL)
endif
if HAVE_LINUX_EPOLL
if DBUS_HAVE_LINUX_EPOLL
DBUS_UTIL_arch_sources += dbus-socket-set-epoll.c
endif