So, for config_guess, the license is in the headers of the two files. The end result being we have license, plus bash scripts generated in /opt/gitlab/LICENSE.
@marinchef-gem is easy enough to fix. Regarding config_guess and ncurses, we are imitating what omnibus-software does. The optimal solution is the upstream providing specific LICENSE files. But what we can easily do is provide those files as patches (and explicitly mention on the top of those files "This license information is extracted from the following files: " in big block letters).