Commit 62d785a6 authored by Matthias Clasen's avatar Matthias Clasen

Don't use libcanberra without X

libcanberra calls x11 backend functions, so we can't use it
when the x11 backend is disabled.
parent 69d90d4f
......@@ -1690,6 +1690,10 @@ AC_ARG_ENABLE(libcanberra,
[enable_libcanberra="$enableval"],
[enable_libcanberra=auto])
if test "$enable_x11_backend" != "yes"; then
enable_libcanberra=no
fi
AC_MSG_CHECKING([whether to use libcanberra])
if test "$enable_libcanberra" != "no"; then
AC_MSG_RESULT([yes])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment