Garrett Cooper a e'crit : > Ok, here's a point that might not have been considered earlier: > > We have a source base in our group that was inherited from another > business unit in Cisco. The source base gets checked into clearcase. > The problem is that when the stuff is checked out autoconf cached > entries have mtimes sufficiently old that configure doesn't regenerate > definitions, which ultimately leads to failure. The hack that we used > for this issue is to touch the files with an mtime sufficiently ahead > in the future that configure is forced to run, but recently we've more > successfully solved this issue by reducing the autotools calls in > Makefile.in to /bin/true calls, e.g.: > > ACLOCAL = /bin/true > AMTAR = /bin/true > AUTOCONF = /bin/true > AUTOHEADER = /bin/true
Newer build tools solves this issue by using md5sum instead of mtimes. The sum is not only computed with the source files content but also with the command line string. So if any option changes, proper rebuilt is done. Gilles. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
