diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-02-01 09:06:20 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-05-14 16:36:00 +1000 |
commit | 8318d6a89cb3ffad5c90670027ef997fd19994a1 (patch) | |
tree | 420d2f85b27953f473dc2bcdeeec73ee62660ce7 | |
parent | 1c215f5a9c7f8a75ad56f3b34b0b7de2ee9aa6ff (diff) |
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>
(cherry picked from commit 623981ddaeb8836f3b0939e527c0e943f9c4e974)
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 428986330..bc53f1675 100644 --- a/configure.ac +++ b/configure.ac @@ -2216,6 +2216,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 |