[...] Making all in mouse-settings make[3]: Entering directory `/tmp/xfce4-settings-4.6.1/dialogs/mouse-settings' make all-am make[4]: Entering directory `/tmp/xfce4-settings-4.6.1/dialogs/mouse-settings' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DDATADIR=\"/usr/local/share\" -DSRCDIR=\"../..\" -DLOCALEDIR=\"/usr/local/share/locale\" -DG_LOG_DOMAIN=\"xfce4-mouse-settings\" -DNDEBUG -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libglade-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/libxml2 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/local/include/xfce4 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/local/include/atk-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/xfce4/xfconf-0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/xfce4/xfconf-0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -s -O3 -march=i686 -MT xfce4_mouse_settings-main.o -MD -MP -MF .deps/xfce4_mouse_settings-main.Tpo -c -o xfce4_mouse_settings-main.o `test -f 'main.c' || echo './'`main.c main.c: In function 'mouse_settings_event_filter': main.c:1124: error: 'XDevicePresenceNotifyEvent' undeclared (first use in this function) main.c:1124: error: (Each undeclared identifier is reported only once main.c:1124: error: for each function it appears in.) main.c:1124: error: 'dpn_event' undeclared (first use in this function) make[4]: *** [xfce4_mouse_settings-main.o] Error 1 make[4]: Leaving directory `/tmp/xfce4-settings-4.6.1/dialogs/mouse-settings' make[3]: *** [all] Error 2 make[3]: Leaving directory `/tmp/xfce4-settings-4.6.1/dialogs/mouse-settings' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/xfce4-settings-4.6.1/dialogs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/xfce4-settings-4.6.1' make: *** [all] Error 2
This is because XDevicePresenceNotifyEvent is only present since libxi 1.1.0 and configure checks for libxi >= 1.0.0. Stepha, Nick, do you feel ok if I bump the required version?
Configure should actually check for inputproto 1.4.0, because that's where the struct if defined.
Added check for xi >= 1.1.0 and inputproto >= 1.4.0 in git master.