Try building without X or installed glib
Remove files created during build.
More X removal for QNX
Hack LIBTOOLIZE and add ACLOCAL_FLAGS to make it build