all: Remove unused function argument

The result isn't depending on the terminal anymore, so remove that arg.
widget: Remove unused struct
a11y: Remove unused include
a11y: Fix compiler warnings about unused variables
a11y: Remove unnecessary vfunc impl

atk has a default implementation that's identical.
a11y: Remove unnecessary vfunc impl

These are deprecated in atk.
a11y: Remove unnecessary vfunc impl

Layer is WIDGET by default, so there is no need to provide an overriding impl
returning the same.
a11y: Remove unnecessary vfunc impl

Z-order is MININT by default, so there is no need to provide an overriding impl
returning the same.
a11y: Remove bogus code

There is no weak pointer there, so just remove this code.
build: Use AC_USE_SYSTEM_EXTENSIONS

... instead of some grep magic.
build: Update warning flags check
build: Remove obsolete checks
build: Default to enable bindings
build: Remove unused flags

Fixes commit e5a83ebfc16bb6607bf946535ef55c50d416a8b6.
build: Use AC_USE_SYSTEM_EXTENSIONS

... instead of some grep magic.
build: Use configure.ac instead of configure.in
build: Fix check program build

From commit f34959ef25a7c70c545a8e31087a35e8c586e100.
all: Use terminfo instead of termcap

https://bugzilla.gnome.org/show_bug.cgi?id=169295
build: Remove nonexisting Makefile from output files

Fixes build after commit a65aae3bb5cb140a8cf5b6bdda2a5b333c574502.
terminfo: Fix return values in assertions