Re: Why is UpdateConfigGuess copying to "True"

Derek Homeier <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On 1 Feb 2023, at 5:56 pm, Scott Hannahs via Fink-users <[email protected]> wrote:
> 
> I understand the first two cp commands, which make sense in updating things.  But the third and fourth cp commands make no sense to me.  They create an executable file in the build directory called “True” which is the same as config.guess and then immediately overwrite that file with config.sub.
> 
> Is this an implementation error of fink, for UpdateConfigGuess(InDirs)??
> 
No, just a syntax error.

UpdateConfigGuess: true

is correct, but UpdateConfigGuessInDirs requires the subdirectory[ies] where config.*
need to be updated as well (which obviously have to exist already; otherwise as in your
case it would just be copied to a file which is then overwritten right away – arguably
Fink could make a sanity check at that point if it is really copying to a directory).
E.g. for emacs this should probably be

UpdateConfigGuessInDirs: build-aux

HTH and crossing fingers for the emacs build!

					Derek

_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.