libtool
[Top][All Lists]
Advanced

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

Re: Bug in libtoolize


From: Peter O'Gorman
Subject: Re: Bug in libtoolize
Date: Mon, 21 Feb 2005 23:00:46 +0900
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

While it may not solve the problem on all platforms, it is unlikely to cause
harm and may fix some platforms. I did some tests on my system and came up
with not a lot because HFS+ has a one second resolution on file timestamps,
which is not very useful (I had been thinking of using ls -t). For HEAD and
maybe branch-2-0 we need to think about letting libtoolize know an explicit
list of files and the order to copy them. I suggest installing a fileslist
file at install time which contains a copy of automakes DISTFILES variable.
Then we can make libtoolize look for that file and read it's contents to see
which files to copy.

In the meantime, okay to apply this and it's equivalent to all branches?

Peter
- --
Peter O'Gorman - http://www.pogma.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)

iQCVAwUBQhnpjbiDAg3OZTLPAQI8jAQAl+ccFc/Id3zZqKTUZp3TwHkd5uxzjohM
2+75UNnuCQXZS1aalZTbOf1tRueGUmD2uMSmHetQd6wkFxW+PMOEJmr76hvAwbTY
agRciU701WcNxR3lETZGkYrIZI5Gz9IW/D+vv57t5lxpKV1fMSkcFCoOn3zm4RL0
NOmvASVfwmE=
=flb3
-----END PGP SIGNATURE-----
Index: ChangeLog
        * libtoolize.m4sh: Use cp -p to copy files, it has a better chance
        of keeping make's dependency tracking happy.
        Reported by Jeff Squyres <address@hidden>

Index: libtoolize.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libtoolize.m4sh,v
retrieving revision 1.8
diff -u -3 -p -u -r1.8 libtoolize.m4sh
--- libtoolize.m4sh 28 Dec 2004 13:50:21 -0000 1.8
+++ libtoolize.m4sh 21 Feb 2005 13:55:49 -0000
@@ -87,7 +87,7 @@ auxdir=
 m4dir=
 ltdldir=
 configure_ac=configure.in
-
+CP="$CP -p"
 
 # Parse options once, thoroughly.  This comes as soon as possible in
 # the script to make things like `libtoolize --version' happen quickly.

reply via email to

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