I am supposing this means that the Makefile file in trunk/ufoai is the new one.
Some dependencies (theora,xvid headers) are checked but they are non fatal, dont result in errors. Thus upon resolving the missing headers problem, the check isnt reperformed. I am assuming here that theora is a necessary dependency for building because it fails without. I thus suggest to make the check fail for some dependencies.