At the moment AI licensed under GPL-incompatible license. As you may know GPL prohibit linking to GPL-incompatible code so effectively only the copyright holder can distribute the binaries of the fheroes2 with AI enabled.
As some GNU/Linux distributions would like to distribute game binaries, would it be possible to consider adding GPL linking exception to allow building the game with AI?
Of course non-commercial restrictions will apply to resulting executables.
Read more about linking exceptions:
Alternatively AI can be re-licensed under GPL-compatible terms or LGPL used instead of GPL.