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:
		| @ -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]) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen