[PATCH] D99625: llvm/cmake/config.guess: update to current version

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 2 13:05:39 PDT 2021


Meinersbur added a comment.

In D99625#2660408 <https://reviews.llvm.org/D99625#2660408>, @MaskRay wrote:

> Interesting, did not know the difference. There are other GPL 3 config.guess in llvm-project. But license issues should ... always be taken prudently, so may deserve a discussion on llvm-dev.
>
>   % rg 'Free Software Foundation; either version 3 of'
>   polly/lib/External/isl/config.sub
>   9:# the Free Software Foundation; either version 3 of the License, or
>   
>   polly/lib/External/isl/config.guess
>   9:# the Free Software Foundation; either version 3 of the License, or
>   
>   polly/lib/External/isl/ltmain.sh
>   78:# the Free Software Foundation; either version 3 of the License, or
>   
>   polly/lib/External/isl/interface/config.guess
>   9:# the Free Software Foundation; either version 3 of the License, or
>   
>   polly/lib/External/isl/interface/config.sub
>   9:# the Free Software Foundation; either version 3 of the License, or
>   
>   polly/lib/External/isl/interface/ltmain.sh
>   78:# the Free Software Foundation; either version 3 of the License, or
>   
>   polly/lib/External/isl/m4/ax_create_pkgconfig_info.m4
>   37:#   Free Software Foundation; either version 3 of the License, or (at your

These come from external projects that are autotools-configured in their distribution package (but not in their source repository, with the exception of ax_create_pkgconfig_info.m4). In my understanding it is ok for non-GPL 3 software to use autotools and distribute the output of `make dist` in the original license.

It might be theoretically possibly to instead use GPLv2-licensed old version of autotools instead of a GPLv3-licensed one, if one can get one installed in parallel on a modern GNU/Linux distribution. However, in the LLVM-tree, we use CMake to build it, so none of the files above are actually needed, and I we could remove them if they pose a problem.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99625/new/

https://reviews.llvm.org/D99625



More information about the llvm-commits mailing list