forked from AuroraMiddleware/gtk
Don't use libcanberra without X
libcanberra calls x11 backend functions, so we can't use it when the x11 backend is disabled.
This commit is contained in:
parent
69d90d4f50
commit
62d785a6b7
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user