libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in libtoolize


From: Jeff Squyres
Subject: Re: Bug in libtoolize
Date: Fri, 18 Feb 2005 10:54:31 -0500

On Feb 17, 2005, at 12:59 PM, Albert Chin wrote:

From the autoconf manual:
     Commands like `cp -p' and `touch -r' typically do not copy file
     timestamps to their full resolutions (*note Limitations of Usual
     Tools::).  Hence you should be wary of rules like this:

          dest: src
                  cp -p src dest

     as `dest' will often appear to be older than `src' after the
     timestamp is truncated, and this can cause `make' to do needless
     rework the next time it is invoked.  To work around this problem,
     you can use a timestamp file, e.g.:

          dest-stamp: src
                  cp -p src dest
                  date >dest-stamp

I don't see any signs in it of `cp -p' being non-portable.

If this is true, then even if -p is portable, it potentially won't solve the problem. :-\

--
{+} Jeff Squyres
{+} address@hidden
{+} http://www.lam-mpi.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]