--- configure.orig
+++ configure
@@ -15235,6 +15235,7 @@ fi
 if test "${enable_qt_ok}" = yes \
   || test "${enable_wxwidgets_ok}" = yes \
   || test "$GGI_SUPPORT" = yes \
+  || test "$with_caca" = yes \
   || test "$no_x" != yes; then
     enable_mouse=yes;
 fi