Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autotools: should config.guess, depcomp or ltmain.sh be stored in the SVN repo?

I am taking over a project and I see in the subversion repository some files that belong to the distribution of libtool and automake such as config.guess, depcomp or ltmain.sh. I believe this is simply wrong because when I do the check out, I should have the autotools installed on my machine and do an autoreconf.

What do you think ? Am I missing the point of having these files in the repository ?

like image 569
Barth Avatar asked Nov 03 '25 20:11

Barth


2 Answers

Typically, you wouldn't have those in your SVN repo. Usually you have an autogen.sh that recreates it on demand. Your instinct to not store potentially-stale files is a good one. If somebody commits a change to configure.ac, and somebody else checks out the whole thing with the configure, the change won't matter.

like image 167
Robert Avatar answered Nov 06 '25 10:11

Robert


Almost anything that can be generated - and depcomp, etc. belong to that - should not be part of a tracked source repository.

like image 37
user502515 Avatar answered Nov 06 '25 08:11

user502515



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!