If neither HAL nor udev backends are enabled, warn the user
If both are missing, input device hotplugging will not work out of the box. While we still have a DBus-API or the user may want to set AAD off all the time, the most likely source of this is misconfiguration (i.e. lack of the udev/hal devel packages). Message printed last to make it more obvious to the user. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
dce40e2266
commit
623981ddae
|
@ -2223,6 +2223,14 @@ AC_SUBST([prefix])
|
|||
|
||||
AC_CONFIG_COMMANDS([sdksyms], [touch hw/xfree86/sdksyms.dep])
|
||||
|
||||
if test "x$CONFIG_HAL" = xno && test "x$CONFIG_UDEV" = xno; then
|
||||
AC_WARN([
|
||||
***********************************************
|
||||
Neither HAL nor udev backend will be enabled.
|
||||
Input device hotplugging will not be available!
|
||||
***********************************************])
|
||||
fi
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
glx/Makefile
|
||||
|
|
Loading…
Reference in New Issue