[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake 1.8.3: Tru64: fix for depcomp
From: |
Alexandre Duret-Lutz |
Subject: |
Re: automake 1.8.3: Tru64: fix for depcomp |
Date: |
Sun, 25 Apr 2004 13:20:26 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
>>> "Nicolas" == Nicolas Joly <address@hidden> writes:
[...]
Nicolas> I think, if remember correctly, that there is a
Nicolas> behaviour change between libtool 1.4 and 1.5 series
Nicolas> for the Tru64 compiler.
Nicolas> With Tru64 cc compiler, shared objects can also be used to make a
Nicolas> static library. This mecanism is used in libtool 1.4 series to handle
Nicolas> both shared and static libraries. But, this exception was removed for
Nicolas> libtool 1.5 which now generates 2 separate objects (PIC vs. non PIC)
Nicolas> for the 2 libraries (shared vs. static); like other compilers.
Thanks! I'm updating the comment in depcomp as follows.
2004-04-25 Alexandre Duret-Lutz <address@hidden>
* lib/depcomp (tru64): Clarify comments. Thanks to Nicolas Joly.
Index: lib/depcomp
===================================================================
RCS file: /cvs/automake/automake/lib/depcomp,v
retrieving revision 1.47.2.1
diff -u -r1.47.2.1 depcomp
--- lib/depcomp 24 Apr 2004 09:21:26 -0000 1.47.2.1
+++ lib/depcomp 25 Apr 2004 11:16:28 -0000
@@ -1,7 +1,7 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
-scriptversion=2004-04-24.11
+scriptversion=2004-04-25.13
# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
@@ -294,8 +294,8 @@
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
- # Dependencies have been reported to be
- # output in either .lo.d or .o.d.
+ # Dependencies are output in .lo.d with libtool 1.4.
+ # They are output in .o.d with libtool 1.5.
tmpdepfile1="$dir.libs/$base.lo.d"
tmpdepfile2="$dir.libs/$base.o.d"
tmpdepfile3="$dir.libs/$base.d"
--
Alexandre Duret-Lutz