with --enable-x11grab and the configure passed without any errors, but x11 input wasn't enabled (I still had the message "Unknown input format: 'x11grab'

解决:
--enable-x11grab 修改为: --enable-libxcb