diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2022-03-01 15:56:30 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2022-03-01 18:59:00 +0100 |
commit | 99cc28e0eb1a37233c0f7d3595175d1f331550e7 (patch) | |
tree | 7503b952d8dcf530dba8215636246883dfa21b81 /configure.ac | |
parent | b6880eb675994e24cd4c9232bed6cbc2326246ab (diff) | |
download | dbus-99cc28e0eb1a37233c0f7d3595175d1f331550e7.tar.gz |
build: Treat --with-x[=yes] the same as --with-x=auto
Previously, --with-x would disable the check for X11 libraries, which
was not intended.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index fa75e930..847e95fb 100644 --- a/configure.ac +++ b/configure.ac @@ -1115,7 +1115,7 @@ if test "x$dbus_win" = xyes; then enable_x11_autolaunch=no have_x11=no -else if test "x$with_x" = xauto; then +else if test "x$with_x" != xno; then PKG_CHECK_MODULES([X], [x11], [AC_DEFINE([HAVE_X11], [1], [Define to 1 if you have X11 library])], [ have_x11=no ]) |